Changeset 1224 for branches/locker-dev/locker/deploy/bin/onathena
- Timestamp:
- Jul 1, 2009, 12:04:33 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/locker-dev/locker/deploy/bin/onathena
r1217 r1224 235 235 fi 236 236 237 # xavid: use p to keep the same permissions as in the file238 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" ]; then242 if [ "$numfiles" -eq 1 ]; then243 athrun scripts gfind . -mindepth 2 -maxdepth 2 | xargs -i mv \{} .244 rmdir "$files"245 fi246 fi247 if [ -f "/mit/scripts/deploy$scriptsdev/php.ini/$deploy" ]; then248 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.ini250 athrun scripts gfind . -mindepth 1 -type d -exec sh -c 'ln -sf "`echo "$1" | sed '\''s,[^/],,g; s,/,../,g'\''`php.ini" "$1/"' -- {} \;251 fi252 237 cd "$origdir" 253 238 254 vsshrun "deploy$scriptsdev/bin/$deploy" "$ sname" "$deploy" "$addrend" "$admin_username" "$requires_sql" "$scriptsdev" "$USER" || die "Unknown failure during configuration"239 vsshrun "deploy$scriptsdev/bin/$deploy" "$lname" "$sname" "$deploy" "$addrend" "$admin_username" "$requires_sql" "$scriptsdev" "$USER" || die "Unknown failure during configuration" 255 240 rm -f "$lroot/web_scripts/$addrend/.scripts-tmp" 256 241 checkfailed
Note: See TracChangeset
for help on using the changeset viewer.