From 818867db248fb55f366197131eb7db7c93b5e2a0 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Mon, 22 Jun 2009 10:59:10 +0200 Subject: pkg: Unset git parameters before executing hooks --- bin/pkg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3