danix
's git repository
home
/
my projects
/
lxqt-slackware.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added packages to the prereq list since we are not building them with the global...
[lxqt-slackware.git]
/
DOWNLOAD.sh
diff --git
a/DOWNLOAD.sh
b/DOWNLOAD.sh
index
767f7fa
..
044e100
100755
(executable)
--- a/
DOWNLOAD.sh
+++ b/
DOWNLOAD.sh
@@
-1,7
+1,7
@@
#! /bin/bash
# Download the superproject and all submodules for LXQT
#! /bin/bash
# Download the superproject and all submodules for LXQT
-# LXQT VERSION 0.1
5
.0
+# LXQT VERSION 0.1
6
.0
set -e
set -e
@@
-25,7
+25,13
@@
$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
# checkout every submodule
$GIT submodule update --remote --rebase || echo "error during checkout of submodules" >> $ERROR_LOG
+# return to main directory
+cd $CWD
+
+# we grab the module's version numbers before deleting everything git related
+sh ${CWD}/GRAB_VERSION.sh $SRCDIR
+
# we are done with git, so let's cleanup from all the unwanted git folders and files
# 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
+find
$SRCDIR
-name '.git*' -mindepth 1 -exec rm -rfv '{}' \; || echo "error during removal of git files from source" >> $ERROR_LOG
# ALL DONE
# ALL DONE