summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2016-07-18 15:29:10 -0300
committerRenato Botelho <renato@netgate.com>2016-07-18 15:29:10 -0300
commit7147142e7feb1b5698fbf6004907aad19b8de4ca (patch)
tree630841d16262ef6a3f1febf8e0107d9386708c94
parentfe179ed6b9bdd5cfbf0d73a88e8dea8aa144a842 (diff)
downloadpfsense-7147142e7feb1b5698fbf6004907aad19b8de4ca.zip
pfsense-7147142e7feb1b5698fbf6004907aad19b8de4ca.tar.gz
Make sure licenses dir is removed to avoid duplicate it in the wrong package
-rw-r--r--tools/builder_common.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/builder_common.sh b/tools/builder_common.sh
index f10ec28..8fbd9bf 100644
--- a/tools/builder_common.sh
+++ b/tools/builder_common.sh
@@ -194,6 +194,9 @@ EOF
echo ">>> ERROR: Error building package ${_template} ${_flavor}"
print_error_pfS
fi
+
+ # Cleanup _licenses_dir
+ rm -rf ${_root}${_licenses_dir}
}
# This routine will output that something went wrong
OpenPOWER on IntegriCloud