Mon Mar 21 18:35:36 PST 2005
- Previous message: [Slony1-general] Some win32 bits
- Next message: [Slony1-general] bash-isms in check_slony_cluster.sh script
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
This patch de-bash-ifies the script, so it runs on /bin/sh under
freebsd. it still runs under bash, of course...
--- #check_slony_cluster.sh~ Mon Mar 21 13:33:18 2005
+++ check_slony_cluster.sh Mon Mar 21 13:33:18 2005
@@ -20,7 +20,7 @@
# Copyright 2005
# check parameters are valid
-if [[ $# -ne 3 ]]
+if [ $# -ne 3 ]
then
echo "Invalid parameters need CLUSTERNAME DBNAME DBHOST"
exit 2
- Previous message: [Slony1-general] Some win32 bits
- Next message: [Slony1-general] bash-isms in check_slony_cluster.sh script
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Slony1-general mailing list