Changeset 1215 for trunk/locker/deploy/bin/onathena
- Timestamp:
- Jun 30, 2009, 4:54:48 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/locker/deploy/bin/onathena
r1213 r1215 236 236 237 237 # xavid: use p to keep the same permissions as in the file 238 if [ "$deploy" = "mediawiki" ]; then 238 repo="/mit/scripts/wizard$scriptsdev/srv/$deploy.git" 239 if [ -e "$repo" ]; then 239 240 admin=`cat .admin` 240 241 rm .admin 241 git clone --shared "/mit/scripts/wizard$scriptsdev/srv/$deploy.git" . 242 ls -Al 243 athrun git git init 244 echo "Deny from all" > ".git/.htaccess" 245 echo "$repo/objects" > ".git/objects/info/alternates" 246 athrun git git remote add origin "$repo" 247 athrun git git config branch.master.remote origin 248 athrun git git config branch.master.merge refs/heads/master 249 athrun git git fetch origin 250 athrun git git branch --track master origin/master 251 athrun git git checkout master 242 252 echo "$admin" > .admin 243 253 else
Note: See TracChangeset
for help on using the changeset viewer.