summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/pkg2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/pkg b/bin/pkg
index 59c46cd..49160ff 100755
--- a/bin/pkg
+++ b/bin/pkg
@@ -237,7 +237,6 @@ function vcs_to_list {
}
function vcs_add {
- unset -m 'GIT_*'
if [[ $(list_type $1) == git ]] {
git clone "$PKG_ROOT/$1"
vcs_setup $1
@@ -413,6 +412,7 @@ function exec_hook {
function global_hook {
cd $PKG_DIR/$1
+ unset -M 'GIT_*'
case $2 in
post-add)
exec_hook $1 post-add