Thu Nov 25 15:41:58 PST 2004
- Previous message: [Slony1-commit] By cbbrowne: Added more docs on "altperl" tools
- Next message: [Slony1-commit] By darcyb: Add a missing ' to correct parse error
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Log Message:
-----------
sh portability change - Use [ -z $WHATEVER ] ; rather than [[ $WHATEVER == "" ]];
Modified Files:
--------------
slony1-engine/src/ducttape:
test_1_pgbench (r1.17 -> r1.18)
test_2_pgbench (r1.10 -> r1.11)
test_3_pgbench (r1.7 -> r1.8)
test_4_pgbench (r1.4 -> r1.5)
test_5_pgbench (r1.3 -> r1.4)
-------------- next part --------------
Index: test_2_pgbench
===================================================================
RCS file: /usr/local/cvsroot/slony1/slony1-engine/src/ducttape/test_2_pgbench,v
retrieving revision 1.10
retrieving revision 1.11
diff -Lsrc/ducttape/test_2_pgbench -Lsrc/ducttape/test_2_pgbench -u -w -r1.10 -r1.11
--- src/ducttape/test_2_pgbench
+++ src/ducttape/test_2_pgbench
@@ -62,10 +62,10 @@
# Make sure the install is up to date
#####
WGM=`which gmake`
-if [[ $WGM == "" ]]; then
+if [ -z $WGM ] ; then
MAKE=make
CGNU=`make -v | grep GNU`
- if [[ $CGNU == "" ]]; then
+ if [ -z $CGNU ] ; then
echo "GNU Make not found - please install GNU Make"
exit 1
fi
Index: test_1_pgbench
===================================================================
RCS file: /usr/local/cvsroot/slony1/slony1-engine/src/ducttape/test_1_pgbench,v
retrieving revision 1.17
retrieving revision 1.18
diff -Lsrc/ducttape/test_1_pgbench -Lsrc/ducttape/test_1_pgbench -u -w -r1.17 -r1.18
--- src/ducttape/test_1_pgbench
+++ src/ducttape/test_1_pgbench
@@ -51,10 +51,10 @@
# Make sure the install is up to date
#####
WGM=`which gmake`
-if [[ $WGM == "" ]]; then
+if [ -z $WGM ] ; then
MAKE=make
CGNU=`make -v | grep GNU`
- if [[ $CGNU == "" ]]; then
+ if [ -z $CGNU ] ; then
echo "GNU Make not found - please install GNU Make"
exit 1
fi
Index: test_4_pgbench
===================================================================
RCS file: /usr/local/cvsroot/slony1/slony1-engine/src/ducttape/test_4_pgbench,v
retrieving revision 1.4
retrieving revision 1.5
diff -Lsrc/ducttape/test_4_pgbench -Lsrc/ducttape/test_4_pgbench -u -w -r1.4 -r1.5
--- src/ducttape/test_4_pgbench
+++ src/ducttape/test_4_pgbench
@@ -44,10 +44,10 @@
# Make sure the install is up to date
#####
WGM=`which gmake`
-if [[ $WGM == "" ]]; then
+if [ -z $WGM ] ; then
MAKE=make
CGNU=`make -v | grep GNU`
- if [[ $CGNU == "" ]]; then
+ if [ -z $CGNU ] ; then
echo "GNU Make not found - please install GNU Make"
exit 1
fi
Index: test_3_pgbench
===================================================================
RCS file: /usr/local/cvsroot/slony1/slony1-engine/src/ducttape/test_3_pgbench,v
retrieving revision 1.7
retrieving revision 1.8
diff -Lsrc/ducttape/test_3_pgbench -Lsrc/ducttape/test_3_pgbench -u -w -r1.7 -r1.8
--- src/ducttape/test_3_pgbench
+++ src/ducttape/test_3_pgbench
@@ -51,10 +51,10 @@
######################################################################
WGM=`which gmake`
-if [[ $WGM == "" ]]; then
+if [ -z $WGM ] ; then
MAKE=make
CGNU=`make -v | grep GNU`
- if [[ $CGNU == "" ]]; then
+ if [ -z $CGNU ] ; then
echo "GNU Make not found - please install GNU Make"
exit 1
fi
Index: test_5_pgbench
===================================================================
RCS file: /usr/local/cvsroot/slony1/slony1-engine/src/ducttape/test_5_pgbench,v
retrieving revision 1.3
retrieving revision 1.4
diff -Lsrc/ducttape/test_5_pgbench -Lsrc/ducttape/test_5_pgbench -u -w -r1.3 -r1.4
--- src/ducttape/test_5_pgbench
+++ src/ducttape/test_5_pgbench
@@ -55,10 +55,10 @@
# Make sure the install is up to date
#####
WGM=`which gmake`
-if [[ $WGM == "" ]]; then
+if [ -z $WGM ] ; then
MAKE=make
CGNU=`make -v | grep GNU`
- if [[ $CGNU == "" ]]; then
+ if [ -z $CGNU ] ; then
echo "GNU Make not found - please install GNU Make"
exit 1
fi
- Previous message: [Slony1-commit] By cbbrowne: Added more docs on "altperl" tools
- Next message: [Slony1-commit] By darcyb: Add a missing ' to correct parse error
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Slony1-commit mailing list