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:36:42 -0200
commit22ab3cb2f7e59b8f94ec522cf38f77d1091bc6a8 (patch)
treedb52dff4f237080e53ee1aca00a916eb259c8b3b /tools
parentd7a437ce4fc594bf7dd98fb648b57701b9c6a4dd (diff)
downloadpfsense-22ab3cb2f7e59b8f94ec522cf38f77d1091bc6a8.zip
pfsense-22ab3cb2f7e59b8f94ec522cf38f77d1091bc6a8.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