[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] odd/multiarch 923023d 09/16: Use 'set_arch.sh' inste
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] odd/multiarch 923023d 09/16: Use 'set_arch.sh' instead of commented-out blocks of code |
Date: |
Wed, 10 Apr 2019 22:15:08 -0400 (EDT) |
branch: odd/multiarch
commit 923023d86ebec512364ce69cce61de684c259c83
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>
Use 'set_arch.sh' instead of commented-out blocks of code
---
install_msw.sh | 23 -----------------------
nychthemeral_test.sh | 24 +-----------------------
2 files changed, 1 insertion(+), 46 deletions(-)
diff --git a/install_msw.sh b/install_msw.sh
index 3615f67..e3d6a6b 100755
--- a/install_msw.sh
+++ b/install_msw.sh
@@ -212,29 +212,6 @@ make $coefficiency --output-sync=recurse -f
install_libxml2_libxslt.make
find /cache_for_lmi/downloads -type f | xargs md5sum
-#export PATH=/opt/lmi/local/bin:/opt/lmi/local/lib:$PATH
-#export
minimal_path=/opt/lmi/local/bin:/opt/lmi/local/lib:/usr/bin:/bin:/usr/sbin:/sbin
-
-# USE SYMLINKS INSTEAD
-#exec_prefix=/opt/lmi/"$LMI_HOST"
-#localbindir="$exec_prefix"/local/bin
-#locallibdir="$exec_prefix"/local/lib
-#
-#export PATH="$localbindir":"$locallibdir":"$PATH"
-#export
minimal_path="$localbindir":"$locallibdir":/usr/bin:/bin:/usr/sbin:/sbin
-
-# USE SYMLINKS INSTEAD
-# condition should be cross compilation, not !cygwin
-#if [ "Cygwin" != "$platform" ]
-#then
-# extrabindir=/opt/lmi/third_party/bin
-# double quotes inside double quotes--wrong?
-# w0="$(winepath -w "$localbindir" | sed -e's/\\/\\\\/g')"
-# w1="$(winepath -w "$locallibdir" | sed -e's/\\/\\\\/g')"
-# w2="$(winepath -w "$extrabindir" | sed -e's/\\/\\\\/g')"
-# export WINEPATH="$w0;$w1;$w2"
-#fi
-
echo "$PATH"
. ./set_arch.sh
echo "$PATH"
diff --git a/nychthemeral_test.sh b/nychthemeral_test.sh
index cb783f9..70cf0ac 100755
--- a/nychthemeral_test.sh
+++ b/nychthemeral_test.sh
@@ -45,29 +45,7 @@ set -e
# provides no convenient alternative):
setopt PIPE_FAIL
-# Don't manipulate paths--use symlinks instead.
-cat >/dev/null <<SUPPRESSED
-# --- DISTRESSINGLY COPIED BLOCK
-# INSTEAD TRY SYMLINKS?
-exec_prefix=/opt/lmi/"$LMI_HOST"
-localbindir="$exec_prefix"/local/bin
-locallibdir="$exec_prefix"/local/lib
-
-export PATH="$localbindir":"$locallibdir":"$PATH"
-export minimal_path="$localbindir":"$locallibdir":/usr/bin:/bin:/usr/sbin:/sbin
-
-case "$LMI_BUILD" in
- (*-*-linux*)
- extrabindir=/opt/lmi/third_party/bin
-# double quotes inside double quotes--wrong?
- w0="$(winepath -w "$localbindir" | sed -e's/\\/\\\\/g')"
- w1="$(winepath -w "$locallibdir" | sed -e's/\\/\\\\/g')"
- w2="$(winepath -w "$extrabindir" | sed -e's/\\/\\\\/g')"
- export WINEPATH="$w0;$w1:$w2"
- ;;
-esac
-# --- DISTRESSINGLY COPIED BLOCK
-SUPPRESSED
+. ./set_arch.sh
case "$LMI_BUILD" in
(*-*-linux*)
- [lmi-commits] [lmi] odd/multiarch updated (b2c1994 -> 11efcd0), Greg Chicares, 2019/04/10
- [lmi-commits] [lmi] odd/multiarch f6dd4d2 04/16: Record, in a comment, an idea for a "DO" variable, Greg Chicares, 2019/04/10
- [lmi-commits] [lmi] odd/multiarch 84ef873 02/16: Document some architecture-selection alternatives, Greg Chicares, 2019/04/10
- [lmi-commits] [lmi] odd/multiarch 97b368a 03/16: Document that "$("this is a quoted string")", Greg Chicares, 2019/04/10
- [lmi-commits] [lmi] odd/multiarch 6535919 05/16: Broaden the scope of the 'clobber' target, Greg Chicares, 2019/04/10
- [lmi-commits] [lmi] odd/multiarch a70b3bc 10/16: Let 'set_arch.sh' set $PERFORM, Greg Chicares, 2019/04/10
- [lmi-commits] [lmi] odd/multiarch 60db190 01/16: Restore whitespace concinnity, Greg Chicares, 2019/04/10
- [lmi-commits] [lmi] odd/multiarch daee5d2 06/16: Remove commentary that is no longer useful, Greg Chicares, 2019/04/10
- [lmi-commits] [lmi] odd/multiarch 354d7ce 07/16: Remove redundant extra 'gcc' in wx 'vendor' string, Greg Chicares, 2019/04/10
- [lmi-commits] [lmi] odd/multiarch 3b7638d 12/16: Add a more radical alternative to 'clobber', Greg Chicares, 2019/04/10
- [lmi-commits] [lmi] odd/multiarch 923023d 09/16: Use 'set_arch.sh' instead of commented-out blocks of code,
Greg Chicares <=
- [lmi-commits] [lmi] odd/multiarch 943d5b8 14/16: Install surrogates for proprietary graphics, Greg Chicares, 2019/04/10
- [lmi-commits] [lmi] odd/multiarch 341f8c5 08/16: Move a documentation stanza, Greg Chicares, 2019/04/10
- [lmi-commits] [lmi] odd/multiarch 70cf4ce 13/16: Insert $LMI_HOST into old '/opt/lmi/bin', Greg Chicares, 2019/04/10
- [lmi-commits] [lmi] odd/multiarch d435a94 15/16: Work around a boost problem with gcc-8.x, Greg Chicares, 2019/04/10
- [lmi-commits] [lmi] odd/multiarch 11efcd0 16/16: Rewrite command assuming '/opt/lmi/bin/' no longer exists, Greg Chicares, 2019/04/10
- [lmi-commits] [lmi] odd/multiarch ec73fc6 11/16: Explicitly set $PERFORM even if it should be empty, Greg Chicares, 2019/04/10