Jim Jagielski wrote: > > At 11:12 AM +0200 5/31/02, Stipe Tolj wrote: > >diff -ur apache-1.3/src/helpers/install.sh apache-1.3-cygwin/src/helpers/install.sh > >--- apache-1.3/src/helpers/install.sh Tue Jun 12 10:24:53 2001 > >+++ apache-1.3-cygwin/src/helpers/install.sh Tue May 28 11:15:10 2002 > >@@ -89,12 +89,8 @@ > > > > # Check if we need to add an executable extension (such as ".exe") > > # on specific OS to src and dst > >-if [ -f "$src.exe" ]; then > >- if [ -f "$src" ]; then > >- : # Cygwin [ test ] is too stupid to do [ -f "$src.exe" ] && [ ! -f "$src" ] > >- else > >- ext=".exe" > >- fi > >+if [ -f "$src.exe" ] && [ ! -f "$src." ]; then > >+ ext=".exe" > > fi > > src="$src$ext" > > dst="$dst$ext" > > Why the above change?? If [] is fixed, what about backwards compatibility?
the problem is Cygwin's behaviour for the -f shell condition. I'll check if I can solve it on another way. Stipe [EMAIL PROTECTED] ------------------------------------------------------------------- Wapme Systems AG M�nsterstr. 248 40470 D�sseldorf Tel: +49-211-74845-0 Fax: +49-211-74845-299 E-Mail: [EMAIL PROTECTED] Internet: http://www.wapme-systems.de ------------------------------------------------------------------- wapme.net - wherever you are
