diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2019-04-27 18:37:21 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2019-04-27 18:37:21 +0900 |
commit | 932b8df2bd686af558692b8b61aee1243d7bad50 (patch) | |
tree | b553a62015e651daf5f9c5ee66c63d05e9d6e369 /debian/_buildscripts/local/update_repositories.sh | |
parent | 3998e3cd8681091727ec71ddf74a43fcbf25582e (diff) | |
download | tde-packaging-932b8df2bd686af558692b8b61aee1243d7bad50.tar.gz tde-packaging-932b8df2bd686af558692b8b61aee1243d7bad50.zip |
DEB build scripts:
1. drop unsupported distros
2. minor improvements
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'debian/_buildscripts/local/update_repositories.sh')
-rwxr-xr-x | debian/_buildscripts/local/update_repositories.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/debian/_buildscripts/local/update_repositories.sh b/debian/_buildscripts/local/update_repositories.sh index 5f0b5758f..91425f8a7 100755 --- a/debian/_buildscripts/local/update_repositories.sh +++ b/debian/_buildscripts/local/update_repositories.sh @@ -68,7 +68,7 @@ function _do_update() "fetch") if [[ -z `grep "^$BRANCH - $MOD_PATH$" "$UPDATE_LOCK_FILENAME"` ]]; then cd "$MOD_PATH" &>/dev/null - eval git fetch --all --prune $OPT_VERBOSE_LOG + eval git fetch --all --prune $GIT_NO_RECURSE_SUBMODULES $OPT_VERBOSE_LOG if [ $? -eq 0 ]; then RESULT="OK" else @@ -104,7 +104,7 @@ function _do_update() eval git reset --hard HEAD $OPT_VERBOSE_LOG eval git clean -dxff $OPT_VERBOSE_LOG if [[ $(git rev-parse HEAD) != $(git rev-parse "origin/$BRANCH") ]]; then - eval git pull --rebase $GIT_NO_RECURSE_SUBMODULES $OPT_VERBOSE_LOG + eval git rebase $OPT_VERBOSE_LOG if [[ `git rev-parse HEAD` == `git rev-parse "origin/$BRANCH"` ]]; then RESULT="UPDATE" else |