summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/pkg8
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/pkg b/bin/pkg
index 23aa855..12e0bed 100755
--- a/bin/pkg
+++ b/bin/pkg
@@ -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 () {