[geos-commits] r3653 - trunk/tools

svn_geos at osgeo.org svn_geos at osgeo.org
Tue May 29 03:04:06 PDT 2012


Author: strk
Date: 2012-05-29 03:04:05 -0700 (Tue, 29 May 2012)
New Revision: 3653

Modified:
   trunk/tools/svn_repo_revision.sh
Log:
Fix revision file path

Modified: trunk/tools/svn_repo_revision.sh
===================================================================
--- trunk/tools/svn_repo_revision.sh	2012-05-29 09:48:53 UTC (rev 3652)
+++ trunk/tools/svn_repo_revision.sh	2012-05-29 10:04:05 UTC (rev 3653)
@@ -3,7 +3,7 @@
 LC_ALL="C" # what for ?
 
 top_srcdir="."
-rev_file=$top_srcdir.'/geos_svn_revision.h'
+rev_file=$top_srcdir'/geos_svn_revision.h'
 
 read_rev() {
 
@@ -75,8 +75,8 @@
     fi
   fi
 
-  echo "#define GEOS_SVN_REVISION $rev" > $rev_file
-  echo "Wrote rev file at $rev" >&2
+  echo "#define GEOS_SVN_REVISION $rev" | tee $rev_file
+  echo "Wrote rev '$rev' in file '$rev_file'" >&2
 }
 
 # Read the svn revision number



More information about the geos-commits mailing list