Changeset 159 for locker/deploy


Ignore:
Timestamp:
Feb 11, 2007, 1:34:56 PM (18 years ago)
Author:
jbarnold
Message:
more authuser corrections; fixed dot-in-session-name bug
File:
1 edited

Legend:

Unmodified
Added
Removed
  • locker/deploy/bin/onathena

    r128 r159  
    110110  mkdir $lroot/.sql 2>/dev/null
    111111  fs sa $lroot/.sql system:anyuser none
     112  fs sa $lroot/.sql system:authuser none
    112113  fs sa $lroot/.sql daemon.scripts write
    113114  ln -nfs $lroot/.sql/my.cnf $lroot/.my.cnf 2>/dev/null
     
    178179  mkdir -p "$lroot/scripts-$deploy"
    179180  fs sa "$lroot/scripts-$deploy" system:anyuser none
     181  fs sa "$lroot/scripts-$deploy" system:authuser none
    180182  fs sa "$lroot/scripts-$deploy" daemon.scripts write
    181183  fs sa "$lroot/scripts-$deploy" system:scripts-security-upd write
     
    186188cd "$lroot/web_scripts_tmp"
    187189fs sa . system:anyuser none
     190fs sa . system:authuser none
    188191fs sa . daemon.scripts write
    189192fs sa . system:scripts-security-upd write
     
    191194cd "$lroot/web_scripts/$addrend"
    192195fs sa . system:anyuser none
     196fs sa . system:authuser none
    193197fs sa . daemon.scripts write
    194198fs sa . system:scripts-security-upd write
     
    201205fi
    202206if [ -f "/mit/scripts/deploy$scriptsdev/php.ini/$deploy" ]; then
    203         sed /SCRIPTS_USER/s//$lname/ /mit/scripts/deploy$scriptsdev/php.ini/$deploy > php.ini
     207        nodot=`echo $lname | sed "/\./s///"`;
     208        sed -e /SCRIPTS_USER/s//$lname/ -e /SCRIPTS_NODOT/s//$nodot/ /mit/scripts/deploy$scriptsdev/php.ini/$deploy > php.ini
    204209        athrun scripts gfind . -mindepth 1 -type d -exec sh -c 'ln -sf "`echo "$1" | sed '\''s,[^/],,g; s,/,../,g'\''`php.ini" "$1/"' -- {} \;
    205210fi
Note: See TracChangeset for help on using the changeset viewer.