[70609] branches/gsoc10-configfiles/tools/gsoctestcase.sh

and.damore at macports.org and.damore at macports.org
Sat Aug 14 23:59:33 PDT 2010


Revision: 70609
          http://trac.macports.org/changeset/70609
Author:   and.damore at macports.org
Date:     2010-08-14 23:59:30 -0700 (Sat, 14 Aug 2010)
Log Message:
-----------
script to get a fresh test case

Added Paths:
-----------
    branches/gsoc10-configfiles/tools/gsoctestcase.sh

Added: branches/gsoc10-configfiles/tools/gsoctestcase.sh
===================================================================
--- branches/gsoc10-configfiles/tools/gsoctestcase.sh	                        (rev 0)
+++ branches/gsoc10-configfiles/tools/gsoctestcase.sh	2010-08-15 06:59:30 UTC (rev 70609)
@@ -0,0 +1,18 @@
+#!/bin/bash
+
+# Set PATH for mp-gsoc
+if [[ ! $(echo $PATH | grep gsoc) ]]; then mpswitch; fi
+
+# Set gsocdummy to revision 0
+read vernum <<< $(gsocswitchversion | cut -d \  -f 7)
+if [[ $vernum = 1 ]]; then
+    read vernum <<< $(gsocswitchversion | cut -d \  -f 7)
+fi
+
+sudo port uninstall gsocdummy @0.1_0
+sudo port uninstall gsocdummy @0.1_1
+sudo port install gsocdummy @0.1_0
+gsocswitchversion
+echo "Ready to upgrade gsocdummy to @0.1_1"
+
+


Property changes on: branches/gsoc10-configfiles/tools/gsoctestcase.sh
___________________________________________________________________
Added: svn:executable
   + *
Added: svn:eol-style
   + native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100814/8565241b/attachment-0001.html>


More information about the macports-changes mailing list