added version grab script to download script in order to get versions before purging...
authordanix <danix@danix.xyz>
Sat, 25 Apr 2020 18:03:28 +0000 (20:03 +0200)
committerdanix <danix@danix.xyz>
Sat, 25 Apr 2020 18:03:28 +0000 (20:03 +0200)
DOWNLOAD.sh

index 767f7fa..3303fd2 100755 (executable)
@@ -25,6 +25,9 @@ $GIT submodule init || echo "error initializing submodules" >> $ERROR_LOG
 # checkout every submodule
 $GIT submodule update --remote --rebase || echo "error during checkout of submodules" >> $ERROR_LOG
 
+# we grab the module's version numbers before deleting everything git related
+sh GRAB_VERSION.sh $SRCDIR
+
 # we are done with git, so let's cleanup from all the unwanted git folders and files
 find . -name '.git*' -mindepth 1 -exec rm -rfv '{}' \; || echo "error during removal of git files from source" >> $ERROR_LOG