Linux Audio
Check our new training course
Embedded Linux Audio
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