From 932b8df2bd686af558692b8b61aee1243d7bad50 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 27 Apr 2019 18:37:21 +0900 Subject: DEB build scripts: 1. drop unsupported distros 2. minor improvements Signed-off-by: Michele Calgaro --- debian/_buildscripts/local/update_repositories.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'debian/_buildscripts/local/update_repositories.sh') 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 -- cgit v1.2.1