#!/bin/sh
#
-# $Id: Setup.sh,v 1.1 2000/12/08 04:49:37 cph Exp $
+# $Id: Setup.sh,v 1.2 2000/12/08 06:19:43 cph Exp $
#
# Copyright (c) 2000 Massachusetts Institute of Technology
#
maybe_link ()
{
- if [ ! -e ${1} ]; then
+ if [ ! -L ${1} ]; then
echo "ln -s ${2} ${1}"
ln -s ${2} ${1}
fi
#!/bin/sh
#
-# $Id: Clean.sh,v 1.2 2000/12/08 06:12:52 cph Exp $
+# $Id: Clean.sh,v 1.3 2000/12/08 06:15:12 cph Exp $
#
# Copyright (c) 2000 Massachusetts Institute of Technology
#
for SUBDIR in back base fggen fgopt machine rtlbase rtlgen rtlopt; do
if [ -d ${SUBDIR} ]; then
- echo "making ${COMMAND} in ${SUBDIR}"
+ echo "making ${1} in ${SUBDIR}"
(cd ${SUBDIR} && rm -f *.bin *.ext *.com *.bci)
fi
done
#!/bin/sh
#
-# $Id: Setup.sh,v 1.3 2000/12/08 06:04:32 cph Exp $
+# $Id: Setup.sh,v 1.4 2000/12/08 06:12:52 cph Exp $
#
# Copyright (c) 2000 Massachusetts Institute of Technology
#
fi
}
-maybe_link Makefile ../etc/Makefile.std
+maybe_link Makefile ../Makefile.std
for FN in Clean.sh Stage.sh Tags.sh; do
maybe_link ${FN} ../etc/${FN}
done
#!/bin/sh
#
-# $Id: Setup.sh,v 1.1 2000/12/08 05:12:15 cph Exp $
+# $Id: Setup.sh,v 1.2 2000/12/08 06:13:56 cph Exp $
#
# Copyright (c) 2000 Massachusetts Institute of Technology
#
maybe_link ()
{
- if [ ! -e ${1} ]; then
+ if [ ! -L ${1} ]; then
echo "ln -s ${2} ${1}"
ln -s ${2} ${1}
fi