index : asp32 | |
Archlinux32 fork of asp - obsolete | gitolite user |
summaryrefslogtreecommitdiff |
author | Dave Reisner <dreisner@archlinux.org> | 2014-09-27 15:51:28 -0400 |
---|---|---|
committer | Dave Reisner <dreisner@archlinux.org> | 2014-09-27 15:51:50 -0400 |
commit | 1672f8c375624bee127f1c14c33517e4d774c93e (patch) | |
tree | e0499c27077816b91381a3f7934db66ce6177877 /package.inc.sh | |
parent | 2ea033741754afc08336f21055a04e4000ee22dd (diff) |
-rw-r--r-- | package.inc.sh | 4 |
diff --git a/package.inc.sh b/package.inc.sh index d4e7a4e..aeea3ae 100644 --- a/package.inc.sh +++ b/package.inc.sh @@ -125,7 +125,9 @@ package_checkout() { git branch -qf --no-track {,}"$remote/packages/$pkgname" git clone "$ASPROOT" --single-branch --branch "$remote/packages/$pkgname" \ - "$startdir/$pkgname" + "$startdir/$pkgname" || return 1 + + git --git-dir="$startdir/$pkgname/.git" config pull.rebase true } package_get_repos_with_arch() { |