patch-1.3.19 linux/scripts/hfiles.sh
Next file: linux/scripts/pathdown.sh
Previous file: linux/scripts/depend.awk
Back to the patch index
Back to the overall index
- Lines: 12
- Date:
Tue Aug 15 15:07:03 1995
- Orig file:
v1.3.18/linux/scripts/hfiles.sh
- Orig date:
Thu Jan 1 02:00:00 1970
diff -u --recursive --new-file v1.3.18/linux/scripts/hfiles.sh linux/scripts/hfiles.sh
@@ -0,0 +1,11 @@
+#!/bin/sh
+#
+# This script looks to see if a directory contains .h files
+#
+for dir in $@; do
+ for hfile in $dir/*.h; do
+ if [ -f $hfile ]; then echo $dir; fi
+ break
+ done
+done
+exit 0
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this