3 DIRS=`find . -name targets -prune -o -type d ! -name . -print | grep -v CVS | sed s/..//`
4 TARGET=${1-`./config.guess`}
8 echo Target directory: $TARGET
9 echo Sub directories: $DIRS
11 [ -d targets ] || mkdir targets
15 /bin/echo Target already exists. Do you want to rebuild it\? '[y]' \\c
31 echo Creating target directory: $TARGET
32 [ -d $TARGET ] || mkdir $TARGET
41 echo Too deep nesting...
46 for f in ../../../../../$f/* ; do [ -d $f ] || ln -sf $f . ; done
51 for f in ../../../../$f/* ; do [ -d $f ] || ln -sf $f . ; done
55 for f in ../../$f/* ; do [ -d $f ] || ln -sf $f . ; done
59 for f in ../../../$f/* ; do [ -d $f ] || ln -sf $f . ; done