From: Marc Fiuczynski Date: Thu, 8 Nov 2007 16:06:16 +0000 (+0000) Subject: need to grep for 'package:', not 'packages' X-Git-Tag: 4.2-rc2~529 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=3e968825efac996a75d3c78a6572420ba7f74974;p=build.git need to grep for 'package:', not 'packages' --- diff --git a/build.common b/build.common index a77de35d..aa035522 100644 --- a/build.common +++ b/build.common @@ -227,8 +227,8 @@ function pl_fixdirs() { function pl_getPackages() { filename=$1 - packages=$(grep "^packages:.*" $filename | awk ' {print $2}') - echo "$packages" + packages=$(grep "^package:.*" $filename | awk ' {print $2}') + echo "$package" return 0 }