Added the appropriate #! magic at the beginning of shell scripts. (Some modern shells don't like scripts to be without it.)

This commit is contained in:
dtrg
2006-07-18 16:45:57 +00:00
7762 changed files with 664329 additions and 0 deletions

19
bin/do_deps Executable file
View File

@@ -0,0 +1,19 @@
#!/bin/sh
: '$Id$'
: Produce dependencies for all argument files
for i in $*
do
n=`basename $i .c`
if [ -f $n.dep ]
then
:
else
echo $n.'$(SUF): '$i > $n.dep
echo " head -5 $n.dep > $n.dp1" >> $n.dep
echo ' CC="$(CC)" UTIL_HOME="$(UTIL_HOME)" $(CC_AND_MKDEP) '$n.dp2 '$(CFLAGS)' -c $i >> $n.dep
echo " cat $n.dp1 $n.dp2 > $n.dep" >> $n.dep
echo " rm -f $n.dp1 $n.dp2" >> $n.dep
fi
done