Changeset 502 for locker/bin
- Timestamp:
- Oct 18, 2007, 9:31:46 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
locker/bin/signup-minimal
r463 r502 55 55 echo "Try running \"fs sa /mit/$lname $USER all\" and starting over." 56 56 echo "Contact scripts@mit.edu if you are unable to solve the problem." 57 exit 057 exit 1 58 58 fi 59 59 fi … … 65 65 echo "ERROR:" 66 66 echo "Cannot find locker <$lname>." 67 exit 067 exit 1 68 68 fi 69 69 … … 76 76 echo "(that's a lowercase L rather than a one) and then try again." 77 77 echo "Contact scripts@mit.edu if you are unable to solve the problem." 78 exit 078 exit 1 79 79 fi 80 80 … … 86 86 echo "It appears as though you do not have write access to the locker <$lname>." 87 87 echo "Contact scripts@mit.edu if you are unable to solve the problem." 88 exit 088 exit 1 89 89 fi 90 90 … … 95 95 fi 96 96 97 $WGET -q -O/dev/null "http://scripts.mit.edu/~signup/$lname" 97 ans=`$WGET -q -O- "http://scripts.mit.edu/~signup/$lname"` 98 98 rmdir "/mit/$lname/.scripts-signup" 99 100 if [ "$ans" != "done" ] && [ "$ans" != "username already taken" ]; then 101 echo "ERROR:" 102 echo "Signup reported the following error: \"$ans\"." 103 echo "Contact scripts@mit.edu for assistance." 104 exit 1 105 fi 99 106 100 107 success() {
Note: See TracChangeset
for help on using the changeset viewer.