summaryrefslogtreecommitdiffstats
path: root/scripts/hfiles.sh
blob: 4643194c8fb82399d4c03943b11c1e8e76768d7e (plain)
1
2
3
4
5
6
7
8
9
10
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