lmi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi-commits] [lmi] master aee9f4d 10/11: For cygwin, add msw system dir


From: Greg Chicares
Subject: [lmi-commits] [lmi] master aee9f4d 10/11: For cygwin, add msw system directory to minimal path
Date: Wed, 8 May 2019 13:23:25 -0400 (EDT)

branch: master
commit aee9f4df39f44582f47d8fc1355f5051c46bff07
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>

    For cygwin, add msw system directory to minimal path
    
    Without this, 'cmd.exe' and 'java.exe' cannot be found.
---
 install_msw.sh | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/install_msw.sh b/install_msw.sh
index 0bf41f5..513da8e 100755
--- a/install_msw.sh
+++ b/install_msw.sh
@@ -37,6 +37,13 @@ echo "Started: $stamp0"
 # This should work with a rather minimal path.
 
 minimal_path=${MINIMAL_PATH:-"/usr/bin:/bin:/usr/sbin:/sbin"}
+
+case "$lmi_build_type" in
+    (*-*-cygwin*)
+        minimal_path="$minimal_path:/cygdrive/c/Windows/system32"
+        ;;
+esac
+
 export PATH="$minimal_path"
 
 # '--jobs=4': big benefit for multicore, no penalty for single core



reply via email to

[Prev in Thread] Current Thread [Next in Thread]