diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2009-06-22 10:59:10 +0200 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2009-06-22 10:59:10 +0200 |
commit | 818867db248fb55f366197131eb7db7c93b5e2a0 (patch) | |
tree | d8d75582f9089b0e7de0ff1bcd6f1e3e8f311c87 /bin/pkg | |
parent | 828033a186b47a5139f2d71d7ecd2d5e014714ff (diff) |
pkg: Unset git parameters before executing hooks
Diffstat (limited to 'bin/pkg')
-rwxr-xr-x | bin/pkg | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |