diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2009-03-12 23:49:15 +0100 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2009-03-12 23:49:15 +0100 |
commit | 095b03de267711780422363a7ceaeb32a0aa7aa3 (patch) | |
tree | bcf96d89dce91e76256cddaf6c4e934c4364c951 /bin | |
parent | cc432943b3de181509cd957dd0fbdb1611aa508a (diff) |
pkg: Fixed vcs_fix_origin
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/pkg | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -256,7 +256,7 @@ function vcs_fix_origin { [[ $1 == rewrite ]] && git remote rm origin if [[ ! -r .git/remotes/origin && ! -r .git/refs/remotes/origin/HEAD ]] { fgrep '[remote "origin"]' .git/config &> /dev/null || - git remote add origin $PKG_ROOT/$1 + git remote add origin $PKG_ROOT/${PWD:t} } git remote update &> /dev/null } |