Add a trailing whitespace to the sed filtering of package names. Fixes #7409.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40047 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Matt Madia 2010-12-31 20:02:48 +00:00
parent 6997467eea
commit 76e9533e9e
1 changed files with 1 additions and 1 deletions

View File

@ -571,7 +571,7 @@ function AddPackages()
for package in ${packagesToInstall} ; do
# output the "if [ IsOptionalHaikuImagePackageAdded..." code block
local regExp="if\ \[\ IsOptionalHaikuImagePackageAdded\ ${package}"
local regExp="if\ \[\ IsOptionalHaikuImagePackageAdded\ ${package}\ "
for inputFile in OptionalPackages OptionalLibPackages ; do
sed -n "/^$regExp/,/^\}/p" "${baseDir}/${inputFile}" >> ${tmpDir}/optpkg.jam
done