diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2009-04-24 17:23:58 +0200 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2009-04-24 17:23:58 +0200 |
commit | 80af611ace20670adf126c66b2f31da2e8b7c755 (patch) | |
tree | 9d4e966dbbd5cfbad7a03913c04afc15b81ba5e5 /bin | |
parent | 178cefd0e570e36f566a9268a195894d6ef43cc1 (diff) |
pkg: vcs_fix_origin: use $1 instead of $PWD
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/pkg | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -298,7 +298,7 @@ function vcs_fix_origin { vcs_setup $1 if [[ ! -r $GIT_DIR/remotes/origin && ! -r $GIT_DIR/refs/remotes/origin/HEAD ]] { fgrep '[remote "origin"]' $GIT_DIR/config &> /dev/null || - git remote add origin $PKG_ROOT/${PWD:t} + git remote add origin $PKG_ROOT/$1 } } |