[jbosstools-commits] JBoss Tools SVN: r41783 - branches/jbosstools-3.3.x/build.

jbosstools-commits at lists.jboss.org jbosstools-commits at lists.jboss.org
Thu Jun 7 12:24:35 EDT 2012


Author: nickboldt
Date: 2012-06-07 12:24:34 -0400 (Thu, 07 Jun 2012)
New Revision: 41783

Modified:
   branches/jbosstools-3.3.x/build/publish.sh
Log:
support Jenkins better

Modified: branches/jbosstools-3.3.x/build/publish.sh
===================================================================
--- branches/jbosstools-3.3.x/build/publish.sh	2012-06-07 16:16:34 UTC (rev 41782)
+++ branches/jbosstools-3.3.x/build/publish.sh	2012-06-07 16:24:34 UTC (rev 41783)
@@ -1,9 +1,4 @@
 #!/bin/bash
-script=$0
-if [[ ${script%%publish.sh} != $script ]]; then
-	script=${script/publish.sh/publish\/publish.sh}
-else
-	script=`cat $0 | grep ".sh"`
-	script=${script//publish.sh/publish\/publish.sh}
-fi
-${script}
+wget http://anonsvn.jboss.org/repos/jbosstools/branches/jbosstools-3.3.x/build/publish/publish.sh
+. publish.sh
+rm -fr publish.sh



More information about the jbosstools-commits mailing list