Changeset 1217 for trunk/locker/deploy/bin/onathena
- Timestamp:
- Jun 30, 2009, 8:46:04 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/locker/deploy/bin/onathena
r1216 r1217 235 235 fi 236 236 237 # xavid: use p to keep the same permissions as in the file 238 athrun scripts gtar zxpf "/mit/scripts/deploy$scriptsdev/$deploy.tar.gz" 239 files=`athrun scripts gfind . -mindepth 1 -maxdepth 1 | grep -v .admin` 240 numfiles=`echo "$files" | wc -l` 241 if [ ! -z "$files" ]; then 242 if [ "$numfiles" -eq 1 ]; then 243 athrun scripts gfind . -mindepth 2 -maxdepth 2 | xargs -i mv \{} . 244 rmdir "$files" 245 fi 246 fi 247 if [ -f "/mit/scripts/deploy$scriptsdev/php.ini/$deploy" ]; then 248 nodot=`echo "$lname" | sed "/\./s///"`; 249 sed -e "/SCRIPTS_USER/ s//$lname/" -e "/SCRIPTS_NODOT/ s//$nodot/" "/mit/scripts/deploy$scriptsdev/php.ini/$deploy" > php.ini 250 athrun scripts gfind . -mindepth 1 -type d -exec sh -c 'ln -sf "`echo "$1" | sed '\''s,[^/],,g; s,/,../,g'\''`php.ini" "$1/"' -- {} \; 251 fi 237 252 cd "$origdir" 238 253 239 vsshrun "deploy$scriptsdev/bin/$deploy" "$ lname" "$sname" "$deploy" "$addrend" "$admin_username" "$requires_sql" "$scriptsdev" "$USER" || die "Unknown failure during configuration"254 vsshrun "deploy$scriptsdev/bin/$deploy" "$sname" "$deploy" "$addrend" "$admin_username" "$requires_sql" "$scriptsdev" "$USER" || die "Unknown failure during configuration" 240 255 rm -f "$lroot/web_scripts/$addrend/.scripts-tmp" 241 256 checkfailed
Note: See TracChangeset
for help on using the changeset viewer.