diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2008-08-10 13:20:44 +0200 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2008-08-10 13:20:44 +0200 |
commit | 48cc0beb2a72ed96de6056cbeae3ac53b289b124 (patch) | |
tree | f7a7c2be56dbac0a6d70827f83aecbd280c219ce | |
parent | 1e822e278e71d7e3dd275cc873e93681108097e4 (diff) |
bin/pkg: Execute prereqs/hooks in subshells
-rwxr-xr-x | bin/pkg | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -263,7 +263,7 @@ exec_hook () { if [[ -r $PDIR/$package/hooks/$hook ]] { info "Executing $package $hook hook\n" cd $PDIR/$package - source hooks/$hook + (source hooks/$hook) } } @@ -287,7 +287,7 @@ check_prereqs () { install+=$1 } - source prereqs + (source prereqs) if [[ -n $install ]] { info "$1 requires the following packages: $install\n" |