diff options
author | Trevor Bramwell <tbramwell@linuxfoundation.org> | 2017-11-08 15:18:36 -0800 |
---|---|---|
committer | Trevor Bramwell <tbramwell@linuxfoundation.org> | 2017-11-08 15:18:36 -0800 |
commit | f336990e8804d33cd643a2bf5172a1d1730a46b8 (patch) | |
tree | f658c012b000453994540bbe5eeb925b130deb8a | |
parent | 122cf34bf3e656e1b7fa35e07dd8a71e42ed4d59 (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>
-rw-r--r-- | jjb/releng/opnfv-repo-archiver.sh | 2 |
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 |