[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master 54ad265 2/3: Explain a GNUism
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master 54ad265 2/3: Explain a GNUism |
Date: |
Thu, 7 May 2020 10:32:58 -0400 (EDT) |
branch: master
commit 54ad265bf5b098f1e28f994032de8153b1d762ff
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>
Explain a GNUism
---
lmi_setup_41.sh | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/lmi_setup_41.sh b/lmi_setup_41.sh
index 28f8112..5209453 100755
--- a/lmi_setup_41.sh
+++ b/lmi_setup_41.sh
@@ -34,6 +34,12 @@ assert_chrooted
# architecture-independent 'configurable_settings.xml'--much like the
# "identity mount" technique used with cygwin. See:
# https://lists.nongnu.org/archive/html/lmi/2017-05/msg00018.html
+# Because wine has its own notion of the filesystem, relative paths
+# are wanted, the GNUism '--relative' being used to translate the
+# absolute paths so that
+# /opt/lmi/ becomes ../../../../../../../opt/lmi
+# /etc/opt/lmi/ becomes ../../../../../../../../etc/opt/lmi
+# /var/opt/lmi/ becomes ../../../../../../../../var/opt/lmi
mkdir -p ~/.wine/drive_c/users/"${NORMAL_USER}"/opt/
cd ~/.wine/drive_c/users/"${NORMAL_USER}"/opt/ || { printf 'failed: cd\n';
exit 3; }