From 4201a7406a82c065042851b629e9925c4f9ce20b Mon Sep 17 00:00:00 2001 From: danix Date: Sat, 25 Apr 2020 20:03:28 +0200 Subject: [PATCH] added version grab script to download script in order to get versions before purging git files from source --- DOWNLOAD.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/DOWNLOAD.sh b/DOWNLOAD.sh index 767f7fa..3303fd2 100755 --- a/DOWNLOAD.sh +++ b/DOWNLOAD.sh @@ -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 -- 2.20.1