]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Avoid side effects for *nix
authorMartin Kraemer <martin@apache.org>
Tue, 12 Jun 2001 08:41:17 +0000 (08:41 +0000)
committerMartin Kraemer <martin@apache.org>
Tue, 12 Jun 2001 08:41:17 +0000 (08:41 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@89349 13f79535-47bb-0310-9956-ffa450edef68

src/helpers/install.sh

index 403104ddd78209cf5aa2e7502063a35ade594cd4..74e63a0c7b3e4a15fc205785678858b0803d0e07 100755 (executable)
@@ -89,7 +89,7 @@ fi
 
 #  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.exe" ] && [ ! -f "$src" ]; then
   ext=".exe"
 fi
 src="$src$ext"