[jboss-cvs] JBossAS SVN: r87989 - projects/ejb3/trunk/hudson/svn.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Wed Apr 29 07:07:24 EDT 2009


Author: wolfc
Date: 2009-04-29 07:07:24 -0400 (Wed, 29 Apr 2009)
New Revision: 87989

Modified:
   projects/ejb3/trunk/hudson/svn/svnsync_and_fix.sh
Log:
Fixed finding fix_rev.sh


Modified: projects/ejb3/trunk/hudson/svn/svnsync_and_fix.sh
===================================================================
--- projects/ejb3/trunk/hudson/svn/svnsync_and_fix.sh	2009-04-29 10:48:40 UTC (rev 87988)
+++ projects/ejb3/trunk/hudson/svn/svnsync_and_fix.sh	2009-04-29 11:07:24 UTC (rev 87989)
@@ -1,6 +1,9 @@
 #!/bin/sh
 set -ex
 
+DIRNAME=`dirname $0`
+HERE=${$DIRNAME:-.}
+
 if [ $# -lt 1 ]; then
    echo 1>&2 "Usage: $0 <path>"
    exit 1
@@ -15,5 +18,5 @@
 CURRENT_REV=`svn info $URL | grep "^Revision:" | cut -c11-`
 
 for rev in $(seq $PREV_REV $CURRENT_REV); do
-   ./fix_rev.sh $REPO_PATH $rev
+   $HERE/fix_rev.sh $REPO_PATH $rev
 done




More information about the jboss-cvs-commits mailing list