summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2017-02-14 08:36:42 -0200
committerRenato Botelho <renato@netgate.com>2017-02-14 08:37:19 -0200
commit2f9a358328b046034331cddb02a3166c65eea471 (patch)
treef9bb3bee7d7745b879b6f8ef3ac85bccc7fae5a0 /tools
parentf07da0aa488f38c245b4935ffd8910036dc47428 (diff)
downloadpfsense-2f9a358328b046034331cddb02a3166c65eea471.zip
pfsense-2f9a358328b046034331cddb02a3166c65eea471.tar.gz
Remove schg flag from directories before try to rm them
Diffstat (limited to 'tools')
-rw-r--r--tools/builder_common.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/builder_common.sh b/tools/builder_common.sh
index 5138e00..cf56ba1 100644
--- a/tools/builder_common.sh
+++ b/tools/builder_common.sh
@@ -1113,6 +1113,7 @@ clean_builder() {
mkdir -p $KERNEL_BUILD_PATH
echo -n ">>> Cleaning previously built images..."
+ chflags -R noschg ${IMAGES_FINAL_DIR} ${STAGINGAREA}2>&1 1>/dev/null
rm -rf $IMAGES_FINAL_DIR/*
rm -rf $STAGINGAREA/*
echo "Done!"
OpenPOWER on IntegriCloud