Commit 8739838d by Jim Wilson

(Xmu.h): Add missing ${LIB}/.

From-SVN: r3109
parent 85ec8ec4
...@@ -503,7 +503,7 @@ if [ -r ${LIB}/$file ]; then ...@@ -503,7 +503,7 @@ if [ -r ${LIB}/$file ]; then
echo Fixing $file sprintf declaration echo Fixing $file sprintf declaration
sed -e 's,^extern char \* sprintf();$,#ifndef __STDC__\ sed -e 's,^extern char \* sprintf();$,#ifndef __STDC__\
extern char * sprintf();\ extern char * sprintf();\
#endif /* !defined __STDC__ */,' ${LIB}/$file > ${file}.sed #endif /* !defined __STDC__ */,' ${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 ${LIB}/$file rm ${LIB}/$file
...@@ -524,7 +524,7 @@ if [ -r ${LIB}/$file ]; then ...@@ -524,7 +524,7 @@ if [ -r ${LIB}/$file ]; then
echo Fixing $file sprintf declaration echo Fixing $file sprintf declaration
sed -e 's,^extern char \* sprintf();$,#ifndef __STDC__\ sed -e 's,^extern char \* sprintf();$,#ifndef __STDC__\
extern char * sprintf();\ extern char * sprintf();\
#endif /* !defined __STDC__ */,' ${LIB}/$file > ${file}.sed #endif /* !defined __STDC__ */,' ${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 ${LIB}/$file rm ${LIB}/$file
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment