X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=shell%2Fmaven-stage.sh;h=ea8652dcc3640f6a7c42cf32954fd854aa811e02;hb=7f9ae14335b6f2ef54626fed349d8a8f36d6d902;hp=74b74a9917a6fdc2de5e312314137c76e278426c;hpb=8808c71bc8632fc6e3553cd674e8c605ad5af436;p=releng%2Fglobal-jjb.git diff --git a/shell/maven-stage.sh b/shell/maven-stage.sh index 74b74a99..ea8652dc 100644 --- a/shell/maven-stage.sh +++ b/shell/maven-stage.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/bash -l # SPDX-License-Identifier: EPL-1.0 ############################################################################## # Copyright (c) 2017 The Linux Foundation and others. @@ -27,4 +27,4 @@ mkdir -p "$WORKSPACE/archives" echo "$staging_repo" > "$WORKSPACE/archives/staging-repo.txt" # Cleanup -rm "$TMP_FILE" +rm -f "$TMP_FILE"