[Dive4elements-commits] [PATCH] Fix variable assignments after rename
Wald Commits
scm-commit at wald.intevation.org
Thu Mar 7 16:06:47 CET 2013
# HG changeset patch
# User Andre Heinecke <aheinecke at intevation.de>
# Date 1362668804 -3600
# Node ID 1b6d4edeeb4cafce7d105fe0fdce24a2dec75ed5
# Parent 4aa748db8be3d1e0150367ccbb86cfbbd175cf42
Fix variable assignments after rename
diff -r 4aa748db8be3 -r 1b6d4edeeb4c flys-backend/contrib/import_river.sh
--- a/flys-backend/contrib/import_river.sh Thu Mar 07 16:02:33 2013 +0100
+++ b/flys-backend/contrib/import_river.sh Thu Mar 07 16:06:44 2013 +0100
@@ -90,16 +90,16 @@
shift
break;;
"-u"|"--username")
- USER=$2
+ DBUSER=$2
shift 2;;
"-w"|"--password")
- PASS=$2
+ DBPASS=$2
shift 2;;
"-h"|"--host")
- HOST=$2
+ DBHOST=$2
shift 2;;
"-p"|"--port")
- PORT=$2
+ DBPORT=$2
shift 2;;
"-l"|"--log-dir")
LOG=$2
@@ -129,16 +129,16 @@
done
if [ -z $DBUSER ]; then
- USER=$DEFAULT_USER
+ DBUSER=$DEFAULT_USER
fi
if [ -z $DBPASS ]; then
- PASS=$DEFAULT_PASS
+ DBPASS=$DEFAULT_PASS
fi
if [ -z $DBPORT ]; then
- PORT=$DEFAULT_PORT
+ DBPORT=$DEFAULT_PORT
fi
if [ -z $DBHOST ]; then
- HOST=$DEFAULT_HOST
+ DBHOST=$DEFAULT_HOST
fi
if [ -z $BACKEND_NAME ]; then
BACKEND_NAME=$DEFAULT_BACKEND_NAME
More information about the Dive4elements-commits
mailing list