Update of /cvsroot/monetdb/geom/conf
In directory sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv32616/geom/conf

Modified Files:
      Tag: Nov2009
        monetdb-geom-config.in 
Log Message:
Get rid of bash dependencies.  Also get rid of unnecessary shell functions (for 
really ancient shells ;-).

Index: monetdb-geom-config.in
===================================================================
RCS file: /cvsroot/monetdb/geom/conf/monetdb-geom-config.in,v
retrieving revision 1.14.2.1
retrieving revision 1.14.2.2
diff -u -d -r1.14.2.1 -r1.14.2.2
--- monetdb-geom-config.in      7 Jan 2010 15:14:05 -0000       1.14.2.1
+++ monetdb-geom-config.in      21 Jan 2010 10:11:17 -0000      1.14.2.2
@@ -1,4 +1,4 @@
-...@bash@
+#!/bin/sh
 
 # The contents of this file are subject to the MonetDB Public License
 # Version 1.1 (the "License"); you may not use this file except in
@@ -29,10 +29,8 @@
 M4libdir="${libdir}/MonetDB4"
 M5libdir="${libdir}/MonetDB5"
 
-usage()
-{
-    cat <<EOF
-Usage: `basename $0` [OPTION]
+prog=`basename $0`
+usage="Usage: $prog [OPTION]
 
 Known values for OPTION are:
 
@@ -46,14 +44,11 @@
 
 Install directories ${pkg} was configured to
   --prefix
-
-EOF
-
-    exit $1
-}
+"
 
 if test $# -eq 0; then
-    usage 1 >&2
+    echo "$usage" >&2
+    exit 1
 fi
 
 while test $# -gt 0; do
@@ -90,7 +85,8 @@
        ;;
 
     --help)
-       usage 0
+       echo "$usage"
+       exit 0
        ;;
 
     --conds)
@@ -119,7 +115,8 @@
        ;;
 
     *)
-       usage 1 >&2
+       echo "$usage" >&2
+       exit 1
        ;;
     esac
     shift


------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
Monetdb-sql-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-sql-checkins

Reply via email to