r92650 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r92649‎ | r92650 | r92651 >
Date:18:02, 20 July 2011
Author:aaron
Status:ok (Comments)
Tags:
Comment:
Missing file from r92649
Modified paths:
  • /trunk/tools/mwmultiversion/scripts/scap-2 (added) (history)

Diff [purge]

Index: trunk/tools/mwmultiversion/scripts/scap-2
@@ -0,0 +1,40 @@
 2+#!/bin/bash
 3+
 4+PATH=/bin:/usr/bin:/sbin:/usr/sbin:
 5+
 6+echo -n Copying to `hostname -s`...
 7+if rsync -a --delete --exclude=**/.svn/lock --no-perms \
 8+ 10.0.5.8::common/ /usr/local/apache/common-local
 9+then
 10+ echo ok
 11+else
 12+ echo failed
 13+ exit 1
 14+fi
 15+
 16+
 17+echo -n Compiling texvc...
 18+
 19+builddir=`mktemp -dt texvc-build.XXXXXXXXXX`
 20+if [ -z "$builddir" ]; then
 21+ echo "Unable to create temporary directory"
 22+ exit 1
 23+fi
 24+
 25+rsync -r --exclude=.svn/ /usr/local/apache/common-local/php-1.17/math/ "$builddir"
 26+cd "$builddir"
 27+if make -f Makefile texvc >/dev/null 2>/dev/null; then
 28+ echo ok
 29+ install -d /usr/local/apache/uncommon/1.17/bin
 30+ install -m 755 "$builddir"/texvc /usr/local/apache/uncommon/1.17/bin
 31+else
 32+ echo failed
 33+ exit 1
 34+fi
 35+rm -r "$builddir"
 36+cd /
 37+
 38+
 39+#echo -n "Restarting apache... "
 40+#/usr/bin/apache-sanity-check && ( sudo /usr/sbin/apache2ctl stop; sudo killall -9 apache2;sleep 3; sudo /usr/sbin/apache2ctl start )
 41+

Follow-up revisions

RevisionCommit summaryAuthorDate
r92665Added svn:eol-style=nativeaaron19:02, 20 July 2011

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r92649Initial checkout of wmf scripts:...aaron18:00, 20 July 2011

Comments

#Comment by Catrope (talk | contribs)   18:52, 20 July 2011

Doesn't have eol-style native.

#Comment by Aaron Schulz (talk | contribs)   20:54, 20 July 2011

This is another initial version from the site.

Status & tagging log