Fix genglue for paths with spaces

This commit is contained in:
Aaron Culliney 2016-08-27 15:18:26 -07:00
parent 8921f79a14
commit 99953ea90a

View File

@ -1,5 +1,9 @@
#!/bin/sh
echo "#include \"$TARGET_ARCH/glue-prologue.h\""
grep -E -h '(GLUE_)|(#[ ]*if)|(#[ ]*endif)|(#[ ]*else)|(#[ ]*elif)' $*
exit 0
while test "x$1" != "x" ; do
grep -E -h '(GLUE_)|(#[ ]*if)|(#[ ]*endif)|(#[ ]*else)|(#[ ]*elif)' "$1"
shift
done