Changeset 733 for locker/deploy
- Timestamp:
- Apr 22, 2008, 11:55:04 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
locker/deploy/bin/onathena
r524 r733 63 63 read whofor 64 64 if [ "$whofor" = 1 ]; then 65 lname=$USER 66 lroot=$HOME 65 lname="${ATHENA_USER:-$USER}" 67 66 elif [ "$whofor" = 2 ]; then 68 67 echo … … 73 72 printf "Locker name: " 74 73 read lname 75 lroot="/mit/$lname"76 74 else 77 75 echo … … 80 78 exit 1 81 79 fi 80 while true; do 81 if attach "$lname"; then 82 break 83 fi 84 echo "$lname is not a valid locker name." 85 printf "Locker name: " 86 read lname 87 done 88 lroot="/mit/$lname" 82 89 83 90 echo
Note: See TracChangeset
for help on using the changeset viewer.