lmi-commits
[Top][All Lists]
Advanced

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

[lmi-commits] [lmi] master ccd8ff5: Place remaining log in a subdirector


From: Greg Chicares
Subject: [lmi-commits] [lmi] master ccd8ff5: Place remaining log in a subdirectory of /opt/lmi/, not of /tmp/
Date: Wed, 8 May 2019 19:36:57 -0400 (EDT)

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

    Place remaining log in a subdirectory of /opt/lmi/, not of /tmp/
    
    See the immediately preceding commit da16184f76.
---
 gui_test.sh | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/gui_test.sh b/gui_test.sh
index 0c5278f..211f730 100755
--- a/gui_test.sh
+++ b/gui_test.sh
@@ -139,7 +139,12 @@ gui_test_clutter='
 '
 
 # Directory for test logs.
-log_dir=/tmp/lmi/"${LMI_COMPILER}_${LMI_TRIPLET}"/logs
+#
+# It seems redundant to construct yet another $prefix and $exec_prefix here;
+# perhaps that should be done OAOO in a script that selects a toolchain.
+prefix=/opt/lmi
+exec_prefix="$prefix/${LMI_COMPILER}_${LMI_TRIPLET}"
+log_dir="$exec_prefix"/logs
 mkdir --parents "$log_dir"
 
 cd /opt/lmi/src/lmi



reply via email to

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