Commit 3279b142 authored by Dennis Rassmann's avatar Dennis Rassmann

after zipping we can remove modules and kernel dirs

Signed-off-by: Dennis Rassmann's avatarDennis Rassmann <showp1984@gmail.com>
parent c959e90d
......@@ -180,7 +180,7 @@ if [[ ! $OUT_ENABLED -eq 0 ]]; then
echo "[BUILD]: Creating zip: kernel_"$CODENAME"_"$DATE"_"$BRANCH"-"$REV".zip ...";
zip -r kernel_"$CODENAME"_"$DATE"_"$BRANCH"-"$REV".zip . -x "*.zip" "*.sha1" "*.md5"
echo "[BUILD]: Cleaning out directory...";
find $OUT_DIR/* -maxdepth 0 ! -name '*.zip' ! -name '*.md5' ! -name '*.sha1' ! -name kernel ! -name modules ! -name out -exec rm -rf '{}' ';'
find $OUT_DIR/* -maxdepth 0 ! -name '*.zip' ! -name '*.md5' ! -name '*.sha1' ! -name out -exec rm -rf '{}' ';'
echo "[BUILD]: Done!...";
if [ ! $USECHKS -eq 0 ]; then
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment