[seam-commits] Seam SVN: r9318 - trunk.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Tue Oct 14 16:34:34 EDT 2008


Author: pete.muir at jboss.org
Date: 2008-10-14 16:34:34 -0400 (Tue, 14 Oct 2008)
New Revision: 9318

Modified:
   trunk/seam
Log:
use the location of the script not the directory

Modified: trunk/seam
===================================================================
--- trunk/seam	2008-10-14 20:12:08 UTC (rev 9317)
+++ trunk/seam	2008-10-14 20:34:34 UTC (rev 9318)
@@ -15,17 +15,19 @@
     exit 1
 fi
 
-DIRNAME=`dirname $0`
 WORKING_DIR=$PWD
 
 if [ -z "$SEAM_HOME" ]; then
     # get the full path (without any relative bits)
-    SEAM_HOME=`readlink -f $DIRNAME`
+    SEAM_SCRIPT=`readlink -f $0`
+    SEAM_HOME=`dirname $SEAM_SCRIPT`
 fi
 
 SEAM_GEN_DIR="$SEAM_HOME/seam-gen"
 SEAM_COMMAND="${1}"
 
+echo $SEAM_HOME
+
 # OS specific support (must be 'true' or 'false').
 cygwin=false;
 case "`uname`" in




More information about the seam-commits mailing list