Changeset 1568
- Timestamp:
- Jun 1, 2010, 2:37:23 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/locker-dev/locker/deploy/bin/onathena
r1567 r1568 107 107 . "/mit/scripts/bin$scriptsdev/signup-web" 108 108 109 echo 110 echo "Your new copy of $sname will appear on the web at a URL" 111 echo "that starts with http://$lname.scripts.mit.edu/" 112 echo "Please decide upon a complete URL and enter it below." 113 echo "You must enter one or more characters after mit.edu/" 114 echo "The completed address must only contain a-z, 0-9, and /." 115 printf "Desired address: http://$lname.scripts.mit.edu/" 116 read addrend 109 if [ -n "$SCRIPTS_INSTALL_ADDREND" ]; then 110 addrend=$SCRIPTS_INSTALL_ADDREND 111 else 112 echo 113 echo "Your new copy of $sname will appear on the web at a URL" 114 echo "that starts with http://$lname.scripts.mit.edu/" 115 echo "Please decide upon a complete URL and enter it below." 116 echo "You must enter one or more characters after mit.edu/" 117 echo "The completed address must only contain a-z, 0-9, and /." 118 printf "Desired address: http://$lname.scripts.mit.edu/" 119 read addrend 120 fi 117 121 118 122 addrend=`perl -0e 'print $ARGV[0] =~ /^([\w\/-]*[\w-])\/*$/' -- "$addrend"`
Note: See TracChangeset
for help on using the changeset viewer.