summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/pkg1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/pkg b/bin/pkg
index abc08a5..dc7cb7a 100755
--- a/bin/pkg
+++ b/bin/pkg
@@ -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