aboutsummaryrefslogtreecommitdiffstats
path: root/rebuild-alpine.sh
diff options
context:
space:
mode:
Diffstat (limited to 'rebuild-alpine.sh')
-rwxr-xr-xrebuild-alpine.sh10
1 files changed, 8 insertions, 2 deletions
diff --git a/rebuild-alpine.sh b/rebuild-alpine.sh
index 7535a44817..f613265ae4 100755
--- a/rebuild-alpine.sh
+++ b/rebuild-alpine.sh
@@ -33,8 +33,12 @@ build () {
cd $rootdir
}
-echo "Removing traces of previous builds"
-tmp=$(distclean)
+touch START_OF_BUILD.txt
+
+if [ "$1" != "noclean" ] ; then
+ echo "Removing traces of previous builds"
+ tmp=$(distclean)
+fi
echo "Refresh aports tree"
git pull
@@ -44,5 +48,7 @@ for s in main testing nonfree unstable ; do
build $s
done
+touch END_OF_BUILD.txt
+
echo "Done"