summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2008-10-07 10:29:16 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2008-10-07 10:29:16 +0200
commit268fed8ec190b6b57fe15c7ce07e534cc96a1c43 (patch)
tree8df34b0690a2dcfa1094038965159da6b2c2c98d
parent42547eb0f1512eb82c537511156407c6e6d07c30 (diff)
bin/pkg: check_prereqs: Don't subshell the file so offer_install actually works
-rwxr-xr-xbin/pkg2
1 files changed, 1 insertions, 1 deletions
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"