From: Martin Kraemer Date: Tue, 12 Jun 2001 08:41:17 +0000 (+0000) Subject: Avoid side effects for *nix X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e4d9eb86db28807674e466f68cab3c3a5ae80e61;p=thirdparty%2Fapache%2Fhttpd.git Avoid side effects for *nix git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@89349 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/helpers/install.sh b/src/helpers/install.sh index 403104ddd78..74e63a0c7b3 100755 --- a/src/helpers/install.sh +++ b/src/helpers/install.sh @@ -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"