httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mar...@apache.org
Subject cvs commit: apache-1.3/src/helpers install.sh
Date Tue, 12 Jun 2001 10:24:56 GMT
martin      01/06/12 03:24:56

  Modified:    src/helpers install.sh
  Log:
  Cygwin [ test ] is too stupid to do [ -f "$src.exe" ] && [ ! -f "$src" ]
  
  Revision  Changes    Path
  1.11      +6 -2      apache-1.3/src/helpers/install.sh
  
  Index: install.sh
  ===================================================================
  RCS file: /home/cvs/apache-1.3/src/helpers/install.sh,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -u -r1.10 -r1.11
  --- install.sh	2001/06/12 08:41:17	1.10
  +++ install.sh	2001/06/12 10:24:53	1.11
  @@ -89,8 +89,12 @@
   
   #  Check if we need to add an executable extension (such as ".exe") 
   #  on specific OS to src and dst
  -if [ -f "$src.exe" ] && [ ! -f "$src" ]; then
  -  ext=".exe"
  +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
   fi
   src="$src$ext"
   dst="$dst$ext"
  
  
  

Mime
View raw message