[prev in list] [next in list] [prev in thread] [next in thread]
List: slony1-commit
Subject: [Slony1-commit] By cbbrowne: Fix quoting errors in mkslonconf
From: cvsuser () gborg ! postgresql ! org (CVS User Account)
Date: 2006-05-31 21:11:30
Message-ID: 20060531211130.2A0BB11C08AA () gborg ! postgresql ! org
[Download RAW message or body]
Log Message:
-----------
Fix quoting errors in mkslonconf
Modified Files:
--------------
slony1-engine/tools:
mkslonconf.sh (r1.1 -> r1.2)
-------------- next part --------------
Index: mkslonconf.sh
===================================================================
RCS file: /usr/local/cvsroot/slony1/slony1-engine/tools/mkslonconf.sh,v
retrieving revision 1.1
retrieving revision 1.2
diff -Ltools/mkslonconf.sh -Ltools/mkslonconf.sh -u -w -r1.1 -r1.2
--- tools/mkslonconf.sh
+++ tools/mkslonconf.sh
@@ -160,19 +160,19 @@
echo "config file $conffile already exists."
echo "Do you want to (Overwrite) it or (Skip) it (Anything else aborts) [Overwrite|Skip]?"
read nl
- case nl in
+ case $nl in
(Overwrite)
echo "overwriting..."
- create_conf_file $node $dsn
+ create_conf_file $node "$dsn"
(Skip)
echo "skipping..."
(*)
- echo "invalid input - aborting..."
+ echo "invalid input - [$nl] aborting..."
exit -1
esac
else
echo "creating conf file for new node $node with DSN [$dsn]"
- create_conf_file $node $dsn
+ create_conf_file $node "$dsn"
fi
done
rm $queryoutput
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic