diff --git a/bash/smake/smake.sh b/bash/smake/smake.sh index 9613b11..3fd7839 100755 --- a/bash/smake/smake.sh +++ b/bash/smake/smake.sh @@ -195,6 +195,8 @@ for i in `seq 0 $((nfiles-1))`; do let k++ done + fname=`echo $fname | sed "s~^${HOME}~\$\(HOME\)~g ; s~^\./~~g"` + echo -n "$fname" >> Makefile break fi