(signal.h): FIx typo in last change.
(signal.h): Don't mung #endif if nonwhite stuff precedes. From-SVN: r4619
This commit is contained in:
parent
6c7b920175
commit
591d2ce85d
|
@ -531,7 +531,7 @@ fi
|
||||||
|
|
||||||
if [ -r ${LIB}/$file ]; then
|
if [ -r ${LIB}/$file ]; then
|
||||||
echo Fixing $file, nested comments
|
echo Fixing $file, nested comments
|
||||||
sed -e 's/#endif.*/#endif/' ${LIB}/$file > ${LIB}/${file}.sed
|
sed -e 's/^[ ]*#endif.*/#endif/' ${LIB}/$file > ${LIB}/${file}.sed
|
||||||
rm -f ${LIB}/$file; mv ${LIB}/${file}.sed ${LIB}/$file
|
rm -f ${LIB}/$file; mv ${LIB}/${file}.sed ${LIB}/$file
|
||||||
if cmp $file ${LIB}/$file >/dev/null 2>&1; then
|
if cmp $file ${LIB}/$file >/dev/null 2>&1; then
|
||||||
rm -f ${LIB}/$file
|
rm -f ${LIB}/$file
|
||||||
|
|
Loading…
Reference in New Issue