Hackish fix. Only grab entities from lines that start with <!ENTITY.
Hopefully this means that this line isn't commented out. Better fix forthcoming.
This commit is contained in:
parent
cf9cac8e76
commit
7b20cc5ae2
1 changed files with 2 additions and 2 deletions
4
jhalfs
4
jhalfs
|
@ -230,11 +230,11 @@ extract_commands() {
|
|||
fi
|
||||
echo `grep "udev-config-file" $BOOK/general.ent | sed -e 's@<!ENTITY @@' -e 's@">@"@'` >> packages
|
||||
echo `grep "glibc" packages | sed 's@glibc@glibc-libidn@'` >> packages
|
||||
grep "ENTITY" $BOOK/patches.ent | sed -e 's/.* "//' -e 's/">//' >> patches
|
||||
grep "^<\!ENTITY" $BOOK/patches.ent | sed -e 's/.* "//' -e 's/">//' >> patches
|
||||
|
||||
# Needed for Groff patchlevel patch
|
||||
GROFFLEVEL=`grep "groff-patchlevel" $BOOK/general.ent | sed -e 's/groff-patchlevel //' -e 's/"//g' \
|
||||
-e 's@<!ENTITY @@' -e 's|>||' `
|
||||
-e 's@<!ENTITY @@' -e 's|>||'`
|
||||
sed -i 's|&groff-patchlevel;|'$GROFFLEVEL'|' patches
|
||||
|
||||
# Done. Moving on...
|
||||
|
|
Reference in a new issue