[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] odd/multiarch e2e5700 4/5: Improve command order and
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] odd/multiarch e2e5700 4/5: Improve command order and documentation |
Date: |
Mon, 15 Apr 2019 19:53:44 -0400 (EDT) |
branch: odd/multiarch
commit e2e5700143bca5f31b4aa32e8960638ef9791a6c
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>
Improve command order and documentation
---
install_msw.sh | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/install_msw.sh b/install_msw.sh
index 85b6b3a..56f4936 100755
--- a/install_msw.sh
+++ b/install_msw.sh
@@ -23,8 +23,6 @@
set -vx
-export PATH="/usr/bin:/bin:/usr/sbin:/sbin"
-
# To get the latest version of this script:
#
# wget -N 'https://git.savannah.gnu.org/cgit/lmi.git/plain/install_msw.sh'
@@ -36,6 +34,9 @@ export PATH="/usr/bin:/bin:/usr/sbin:/sbin"
stamp0=$(date -u +'%Y-%m-%dT%H:%M:%SZ')
echo "Started: $stamp0"
+# This should work with a rather minimal path.
+export PATH="/usr/bin:/bin:/usr/sbin:/sbin"
+
# '--jobs=4': big benefit for multicore, no penalty for single core
# (but don't force it to 4 if it's already set).
# '--output-sync=recurse' is also used, passim, to facilitate log