From f336990e8804d33cd643a2bf5172a1d1730a46b8 Mon Sep 17 00:00:00 2001 From: Trevor Bramwell Date: Wed, 8 Nov 2017 15:18:36 -0800 Subject: 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 --- jjb/releng/opnfv-repo-archiver.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'jjb') 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 -- cgit 1.2.3-korg