case $CONFIG in '') if test -f config.sh; then TOP=.; elif test -f ../config.sh; then TOP=..; elif test -f ../../config.sh; then TOP=../..; elif test -f ../../../config.sh; then TOP=../../..; elif test -f ../../../../config.sh; then TOP=../../../..; else echo "Can't find config.sh."; exit 1 fi . $TOP/config.sh ;; esac case "$0" in */*) cd `expr X$0 : 'X\(.*\)/'` ;; esac echo "Extracting kit/manifake (with variable substitutions)" $spitshell >manifake <>manifake <<'!NO!SUBS!' $NEWMANI = 'MANIFEST.new'; $MANI = 'MANIFEST'; &manifake; !NO!SUBS! chmod 755 manifake $grep -v '^;#' ../pl/manifake.pl >> manifake $eunicefix manifake