Remove quotes in globbed patch CLEANup (#168)

Globbing does not work within single or double quotes.
https://unix.stackexchange.com/questions/67757/wildcards-inside-quotes
pull/170/head
David Steele 2018-03-24 13:36:18 -04:00 committed by XECDesign
parent de5b2baa1c
commit 343cabc8f5
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ EOF
pushd "${STAGE_WORK_DIR}" > /dev/null pushd "${STAGE_WORK_DIR}" > /dev/null
if [ "${CLEAN}" = "1" ]; then if [ "${CLEAN}" = "1" ]; then
rm -rf .pc rm -rf .pc
rm -rf "./*-pc" rm -rf ./*-pc
fi fi
QUILT_PATCHES="${SUB_STAGE_DIR}/${i}-patches" QUILT_PATCHES="${SUB_STAGE_DIR}/${i}-patches"
SUB_STAGE_QUILT_PATCH_DIR="$(basename "$SUB_STAGE_DIR")-pc" SUB_STAGE_QUILT_PATCH_DIR="$(basename "$SUB_STAGE_DIR")-pc"