summaryrefslogtreecommitdiffstats
path: root/jjb
diff options
context:
space:
mode:
authorTrevor Bramwell <tbramwell@linuxfoundation.org>2017-11-08 15:18:36 -0800
committerTrevor Bramwell <tbramwell@linuxfoundation.org>2017-11-08 15:18:36 -0800
commitf336990e8804d33cd643a2bf5172a1d1730a46b8 (patch)
treef658c012b000453994540bbe5eeb925b130deb8a /jjb
parent122cf34bf3e656e1b7fa35e07dd8a71e42ed4d59 (diff)
Fix removal of kernel directories in repo archiver
Removal of these directories was silently failing due to the '-f' flag of rm. Unquoting '{..}' allows bash to corretly interpret the brace expansion. Change-Id: I315c63b5eb26fd3780632da0961a0eaf86439ae3 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
Diffstat (limited to 'jjb')
-rw-r--r--jjb/releng/opnfv-repo-archiver.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/jjb/releng/opnfv-repo-archiver.sh b/jjb/releng/opnfv-repo-archiver.sh
index c9fdba379..2408c2a83 100644
--- a/jjb/releng/opnfv-repo-archiver.sh
+++ b/jjb/releng/opnfv-repo-archiver.sh
@@ -35,7 +35,7 @@ for PROJECT in "${PROJECT_LIST[@]}"; do
# Don't license scan kernel or qemu in kvmfornfv
if [ "$PROJECT" == "kvmfornfv" ]; then
- rm -rf "$CLONE_PATH/$PROJECT/{kernel,qemu}"
+ rm -rf "$CLONE_PATH/$PROJECT/"{kernel,qemu}
fi
done