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
2
jhalfs
2
jhalfs
|
@ -230,7 +230,7 @@ extract_commands() {
|
||||||
fi
|
fi
|
||||||
echo `grep "udev-config-file" $BOOK/general.ent | sed -e 's@<!ENTITY @@' -e 's@">@"@'` >> packages
|
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
|
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
|
# Needed for Groff patchlevel patch
|
||||||
GROFFLEVEL=`grep "groff-patchlevel" $BOOK/general.ent | sed -e 's/groff-patchlevel //' -e 's/"//g' \
|
GROFFLEVEL=`grep "groff-patchlevel" $BOOK/general.ent | sed -e 's/groff-patchlevel //' -e 's/"//g' \
|
||||||
|
|
Reference in a new issue