Changeset 1420 for branches/locker-dev
- Timestamp:
- Jan 13, 2010, 1:06:52 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/locker-dev/locker/deploy/bin/onathena
r1346 r1420 238 238 fi 239 239 240 echo 241 echo "Unpacking $sname... (this step might take several minutes)" 242 # xavid: use p to keep the same permissions as in the file 243 athrun scripts gtar zxpf "/mit/scripts/deploy$scriptsdev/$deploy.tar.gz" 244 files=`athrun scripts gfind . -mindepth 1 -maxdepth 1 | grep -v .admin` 245 numfiles=`echo "$files" | wc -l` 246 if [ ! -z "$files" ]; then 247 if [ "$numfiles" -eq 1 ]; then 248 athrun scripts gfind . -mindepth 2 -maxdepth 2 | xargs -i mv \{} . 249 rmdir "$files" 250 fi 251 fi 252 if [ -f "/mit/scripts/deploy$scriptsdev/php.ini/$deploy" ]; then 253 nodot=`echo "$lname" | sed "/\./s///"`; 254 sed -e "/SCRIPTS_USER/ s//$lname/" -e "/SCRIPTS_NODOT/ s//$nodot/" "/mit/scripts/deploy$scriptsdev/php.ini/$deploy" > php.ini 255 athrun scripts gfind . -mindepth 1 -type d -exec sh -c 'ln -sf "`echo "$1" | sed '\''s,[^/],,g; s,/,../,g'\''`php.ini" "$1/"' -- {} \; 256 fi 240 257 cd "$origdir" 241 258 242 echo 243 echo "Unpacking $sname... (this step might take several minutes)" 244 245 vsshrun "deploy$scriptsdev/bin/$deploy" "$lname" "$sname" "$deploy" "$addrend" "$admin_username" "$requires_sql" "$scriptsdev" "$USER" || die "Unknown failure during configuration" 259 vsshrun "deploy$scriptsdev/bin/$deploy" "$sname" "$deploy" "$addrend" "$admin_username" "$requires_sql" "$scriptsdev" "$USER" || die "Unknown failure during configuration" 246 260 rm -f "$lroot/web_scripts/$addrend/.scripts-tmp" 247 261 checkfailed
Note: See TracChangeset
for help on using the changeset viewer.