# incorrect. For now however, it is probably not worth the effort
# to canonicalize the hostname, especially with the upcoming update
# protocol redesign
-set uchost=`hostname | tr a-z A-Z`.MIT.EDU
+set uchost=`hostname | tr '[a-z]' '[A-Z]'`.MIT.EDU
cd $SRC_DIR
# cleanup
- if [ -f $TARFILE ] ; then rm -f $TARFILE ; fi
- if [ -d $SRC_DIR ] ; then cd $SRC_DIR/.. ; rm -rf $SRC_DIR ; fi
- if [ -f $0 ] ; then rm -r $0 ; fi
-fi
+if ( -f $TARFILE ) rm -f $TARFILE
+if ( -d $SRC_DIR ) then
+ cd $SRC_DIR/..
+ rm -rf $SRC_DIR
+endif
+if ( -f $0 ) rm -r $0
exit 0