diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2008-10-07 12:15:58 +0200 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2008-10-07 12:15:58 +0200 |
commit | f8da77d2edb9b8a52913fb29af426445f2fb369b (patch) | |
tree | fa711c6401a06ef191940ebbbd88250c5c9091b4 /bin | |
parent | 2fc9d0c03c6bf3424928141c9c9819e444c9f756 (diff) |
bin/pkg: Don't assume a package has the correct origin
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/pkg | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -175,13 +175,13 @@ vcs_log () { } vcs_upgrade () { - [[ -d .hg ]] && {hg pull --update ; return} - [[ -d .git ]] && {git pull ; return} + [[ -d .hg ]] && {hg pull --update $PKG_ROOT/$PWD:t; return} + [[ -d .git ]] && {git pull $PKG_ROOT/$PWD:t ; return} } vcs_push () { - [[ -d .hg ]] && {hg push ; return} - [[ -d .git ]] && {git push ; return} + [[ -d .hg ]] && {hg push $PKG_ROOT/$PWD:t ; return} + [[ -d .git ]] && {git push $PKG_ROOT/$PWD:t; return} } vcs_status () { |