From c4a9f3f32306a0e47d09dc8c5d4eb55dd6872f10 Mon Sep 17 00:00:00 2001 From: Ludovic Jacomme Date: Mon, 26 Jul 2004 17:51:23 +0000 Subject: [PATCH] - operator '==' doesn't exists/not compatible with old /bin/sh version (such as the one installed under Solaris or Cygwin ...) Replaced by '=' and here in the context it doesn't matter (no need of a pattern string matching/comparison ...) --- alliance/src/autostuff | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/alliance/src/autostuff b/alliance/src/autostuff index cc79a80b..1eb04fd2 100755 --- a/alliance/src/autostuff +++ b/alliance/src/autostuff @@ -1,5 +1,11 @@ #!/bin/sh #$Log: autostuff,v $ +#Revision 1.11 2004/07/26 17:51:23 ludo +#- operator '==' doesn't exists/not compatible with old /bin/sh version +# (such as the one installed under Solaris or Cygwin ...) +# Replaced by '=' and here in the context it doesn't matter +# (no need of a pattern string matching/comparison ...) +# #Revision 1.10 2004/07/26 12:34:39 fred #Added a test on Makefile.am to avoid errors when making 'clean'. #Sources without Makefile.am in their top directory are now totally @@ -34,10 +40,10 @@ dirs=$* fi newdirs="" for dir in $dirs; do - if [ "$dir" == "CVS" ]; then continue; fi - if [ "$dir" == "autom4te.cache" ]; then continue; fi - if [ "$dir" == "Linux" ]; then continue; fi - if [ "$dir" == "Solaris" ]; then continue; fi + if [ "$dir" = "CVS" ]; then continue; fi + if [ "$dir" = "autom4te.cache" ]; then continue; fi + if [ "$dir" = "Linux" ]; then continue; fi + if [ "$dir" = "Solaris" ]; then continue; fi if [ ! -f "$dir/Makefile.am" ]; then continue; fi newdirs="$newdirs $dir" done