From 268fed8ec190b6b57fe15c7ce07e534cc96a1c43 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Tue, 7 Oct 2008 10:29:16 +0200 Subject: bin/pkg: check_prereqs: Don't subshell the file so offer_install actually works --- bin/pkg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/pkg b/bin/pkg index 4ea796c..1f14476 100755 --- a/bin/pkg +++ b/bin/pkg @@ -297,7 +297,7 @@ check_prereqs () { install+=$1 } - (source prereqs) + source prereqs if [[ -n $install ]] { info "$1 requires the following packages: $install\n" -- cgit v1.2.3