[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
- [lmi-commits] [lmi] master updated (caf6f55 -> 42d072d), Greg Chicares, 2019/05/08
- [lmi-commits] [lmi] master db13831 02/11: Copy a directory's contents instead of the directory as such, Greg Chicares, 2019/05/08
- [lmi-commits] [lmi] master 081657d 06/11: Update to a working URL for msw md5sum binary, Greg Chicares, 2019/05/08
- [lmi-commits] [lmi] master 2817a1b 07/11: Make sure data directory exists before writing to it, Greg Chicares, 2019/05/08
- [lmi-commits] [lmi] master c4e2286 03/11: No longer treat pthread DLL as a compiler runtime file, Greg Chicares, 2019/05/08
- [lmi-commits] [lmi] master d8c273d 09/11: Let xsltproc be found (by cygwin), Greg Chicares, 2019/05/08
- [lmi-commits] [lmi] master a6fb202 01/11: Replace literal "gcc" with $LMI_COMPILER, Greg Chicares, 2019/05/08
- [lmi-commits] [lmi] master 785ff4e 08/11: Remove undesirable quotes in scripts, Greg Chicares, 2019/05/08
- [lmi-commits] [lmi] master aee9f4d 10/11: For cygwin, add msw system directory to minimal path,
Greg Chicares <=
- [lmi-commits] [lmi] master 6107ab7 05/11: Expunge liblzma, Greg Chicares, 2019/05/08
- [lmi-commits] [lmi] master 09eae7d 04/11: Distinguish $exec_prefix from $prefix, Greg Chicares, 2019/05/08
- [lmi-commits] [lmi] master 42d072d 11/11: Improve shell quoting, Greg Chicares, 2019/05/08