diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2008-12-24 20:38:16 +0100 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2008-12-24 20:38:16 +0100 |
commit | 679b0d66506a59ddd49d5798281b2226fb2c1bd3 (patch) | |
tree | 8468cb9e057df0895144a6820dec69a3c29c5209 /bin/pkg | |
parent | 4bacfc13949bc977fda8b4373906091a82a24f93 (diff) |
bin/pkg: fix_origin: Change into right directory (broke with pkg add)
Diffstat (limited to 'bin/pkg')
-rwxr-xr-x | bin/pkg | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -333,6 +333,7 @@ function exec_hook { # Set the correct origin function fix_origin { + cd $PDIR/$1 if ! git remote | grep -F origin &> /dev/null; then git remote add origin $PKG_ROOT/$1 fi |