howdee again,

ok - heres the 'simple' functional change to add
the profile.d directory.  ive created a different
directory to hold the functional change for inst-inno().

i have a completely different one-liner that is
bugging me so ill try sending that as a different
email/subject if i sort it out...

:::trying to stay with one-topic/thread at a time...:::

have fun, h.  :)

Index: install.sh
===================================================================
--- install.sh  (revision 15239)
+++ install.sh  (working copy)
@@ -148,6 +148,12 @@
 function inst_dtk() {
     setup MSYS DTK
     _MSYS_UDIR=`unix_path $MSYS_DIR`
+    _PROF_UDIR=${_MSYS_UDIR}/etc/profile.d
+    _PROF_INST=${_PROF_UDIR}/installer.sh
+    if [ ! -d "${_PROF_UDIR}" ]; then
+        mkdir -p "${_PROF_UDIR}"
+        echo > ${_PROF_INST}
+    fi
     if quiet ${_MSYS_UDIR}/bin/perl --help
     then
         echo "msys dtk already installed.  skipping."
@@ -787,7 +793,7 @@
                _CHANGE="export ${_ENV}=\"${_ADDS}\""
            fi
            echo $_CHANGE
-           echo echo "'${_CHANGE}' >> /etc/profile.d/installer.sh"
+           eval echo "'${_CHANGE}' >> /etc/profile.d/installer.sh"
        fi
     done
     if test "x$cross_compile" = "xyes" ; then
_______________________________________________
gnucash-devel mailing list
[email protected]
https://lists.gnucash.org/mailman/listinfo/gnucash-devel

Reply via email to