Changeset 660 for locker/bin/signup-sql


Ignore:
Timestamp:
Feb 16, 2008, 6:11:08 PM (16 years ago)
Author:
geofft
Message:
mkdir -p, to avoid errors if it's already there
revert removal of 2>/dev/null from sshrun to suppress banner

File:
1 edited

Legend:

Unmodified
Added
Removed
  • locker/bin/signup-sql

    r659 r660  
    99
    1010sshrun() {
    11   athrun scripts scripts-ssh "$lname" "/mit/scripts/$@"
     11  athrun scripts scripts-ssh "$lname" "/mit/scripts/$@" 2>/dev/null
    1212}
    1313
     
    4242echo 1. Your personal Athena account
    4343echo 2. A locker that you control \(a club, a course, etc\)
    44 echo If you do not understand this question, you should answer \'1\'.
     44echo "If you do not understand this question, you should answer '1'".
    4545printf "Please enter either '1' or '2' (without quotes): "
    4646read whofor
     
    7373
    7474if [ ! -f "$lroot/.my.cnf" ]; then
    75   mkdir $lroot/.sql
     75  mkdir -p $lroot/.sql
    7676  fs sa $lroot/.sql system:anyuser none
    7777  fs sa $lroot/.sql system:authuser none
Note: See TracChangeset for help on using the changeset viewer.