summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/pkg4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/pkg b/bin/pkg
index 43e0896..31fe509 100755
--- a/bin/pkg
+++ b/bin/pkg
@@ -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"