Code Review
/
releng
/
global-jjb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
1c748f6
)
Fix echo when removing venv in jjb-cleanup.sh
17/10717/2
author
Trevor Bramwell
<tbramwell@linuxfoundation.org>
Thu, 17 May 2018 22:55:23 +0000
(15:55 -0700)
committer
Trevor Bramwell
<tbramwell@linuxfoundation.org>
Fri, 18 May 2018 16:34:50 +0000
(09:34 -0700)
Missing 'echo' call causes this script to fail when it in truth
succeeds.
Change-Id: I95d798a34442fcf3ca172b3bdd43260db8a09f3c
Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
shell/jjb-cleanup.sh
patch
|
blob
|
history
diff --git
a/shell/jjb-cleanup.sh
b/shell/jjb-cleanup.sh
index
8f5a626
..
9f3536a
100644
(file)
--- a/
shell/jjb-cleanup.sh
+++ b/
shell/jjb-cleanup.sh
@@
-20,6
+20,7
@@
set -e -o pipefail
# shellcheck source="$WORKSPACE/.jjb.properties" disable=SC1091
source "$WORKSPACE/.jjb.properties"
if [[ -n "$JJB_VENV" && "$JJB_VENV" =~ /tmp/.* ]]; then
- rm -r "$JJB_VENV" && "$JJB_VENV removed"
+ rm -r "$JJB_VENV" && echo "$JJB_VENV removed"
+ unset JJB_VENV
fi
rm "$WORKSPACE/.jjb.properties"