summaryrefslogtreecommitdiff
path: root/geography
diff options
context:
space:
mode:
authorgdt <gdt>2006-10-03 12:55:47 +0000
committergdt <gdt>2006-10-03 12:55:47 +0000
commit4ebdf096c115657d53395d157e4cb7b3cebb774a (patch)
tree654f51fd9ae4fa63d096664065af7bedeccedf3c /geography
parent09d6811f92916499cf5a35573619387109ff490b (diff)
downloadpkgsrc-4ebdf096c115657d53395d157e4cb7b3cebb774a.tar.gz
invoke help if called with no arguments
Diffstat (limited to 'geography')
-rw-r--r--geography/epsg/files/epsg.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/geography/epsg/files/epsg.sh b/geography/epsg/files/epsg.sh
index 66a891093a8..f1abc551bbc 100644
--- a/geography/epsg/files/epsg.sh
+++ b/geography/epsg/files/epsg.sh
@@ -1,5 +1,5 @@
#!/bin/sh
-# $NetBSD: epsg.sh,v 1.1 2006/10/03 12:53:44 gdt Exp $
+# $NetBSD: epsg.sh,v 1.2 2006/10/03 12:55:47 gdt Exp $
# epsg - import EPSG data into a relational database
@@ -46,6 +46,10 @@ SRCDIR=${EPSGDIR}
PSQL=${PREFIX}/bin/psql
MYSQL=${PREFIX}/bin/mysql
+if [ $# = 0 ]; then
+ HELP=1
+fi
+
while [ $# -gt 0 ]; do
case $1 in
--help) HELP=1;;