Changeset 92

Show
Ignore:
Timestamp:
01/20/10 05:51:07 (2 years ago)
Author:
235
Message:

ignore empty username

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • deployment-scripts/01_update.sh

    r89 r92  
    55 
    66REV=`echo "$QUERY_STRING" | sed "s/['\"\/\;]//g"| head -n1` 
     7REVPARAM="" 
    78if [ $REV ] 
    89then 
    910   echo "CHEKING OUT REVISION $REV ==== " 
    10    svn --revision $REV --username $USER --password $PASSWD co $SVN ./ 
    11 else 
    12    svn --username $USER --password $PASSWD co $SVN ./ 
     11   REVPARAM="--revision $REV" 
    1312fi 
     13 
     14USERPARAM="" 
     15if [ $USER ] 
     16then 
     17   USERPARAM="--username $USER --password $PASSWD" 
     18fi 
     19svn $REVPARAM $USERPARAM co $SVN ./ 
    1420 
    1521#chown www-data:www-data -R ./htdocs