--- gcc/fixincludes 2018/04/24 16:45:52 1.1.1.5 +++ gcc/fixincludes 2018/04/24 16:47:39 1.1.1.7 @@ -8,9 +8,11 @@ # Directory in which to store the results. LIB=/usr/local/lib/gcc-include +mkdir $LIB > /dev/null 2>&1 + echo 'Finding header files:' cd /usr/include -files=`find . -print` +files=`find . -type f -print` echo 'Checking header files:' for file in $files; do if egrep -s '[ ]_IO[A-Z]*\(|#define._IO|CTRL' $file; then @@ -51,4 +53,4 @@ if [ -r ${LIB}/sundev/vuid_event.h ]; th g/doesn't/s/doesn't/doesn''t/ wq EOF -fi +fi \ No newline at end of file