diff options
-rw-r--r-- | scripts/include/common.sh | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/scripts/include/common.sh b/scripts/include/common.sh index eac8ab2..01c5d70 100644 --- a/scripts/include/common.sh +++ b/scripts/include/common.sh @@ -276,12 +276,11 @@ function package_update_source { cd "../src/${package}" if [ -d .git ]; then echo "git fetch origin" - git fetch origin + git fetch --all check_error $? run_switch_branch echo "git pull --rebase" - git pull --rebase - check_error $? + git pull --rebase --all return fi if [ -d .hg ]; then |