[open-ils-commits] r7987 - branches/rel_1_2/Open-ILS/src/extras

svn at svn.open-ils.org svn at svn.open-ils.org
Sun Nov 4 14:23:29 EST 2007


Author: dbs
Date: 2007-11-04 14:08:10 -0500 (Sun, 04 Nov 2007)
New Revision: 7987

Modified:
   branches/rel_1_2/Open-ILS/src/extras/autogen.sh
Log:
Backport from trunk: we no longer have to "cd /openils/bin" before running autogen.sh


Modified: branches/rel_1_2/Open-ILS/src/extras/autogen.sh
===================================================================
--- branches/rel_1_2/Open-ILS/src/extras/autogen.sh	2007-11-04 14:52:01 UTC (rev 7986)
+++ branches/rel_1_2/Open-ILS/src/extras/autogen.sh	2007-11-04 19:08:10 UTC (rev 7987)
@@ -1,5 +1,16 @@
 #!/bin/bash
+# vim:noet:ts=4
 
+(
+
+BASEDIR=${0%/*}
+if test "$BASEDIR" = "$0" ; then
+	BASEDIR="$(which $0)"
+	BASEDIR=${BASEDIR%/*}
+fi
+
+cd "$BASEDIR"
+
 CONFIG="$1";
 
 [ -z "$CONFIG" ] && echo "usage: $0 <bootstrap_config>" && exit;
@@ -21,3 +32,5 @@
 
 echo "Done";
 
+)
+



More information about the open-ils-commits mailing list