diff options
Diffstat (limited to 'pkgs/by-name/dy/dyalog/mapl.patch')
-rw-r--r-- | pkgs/by-name/dy/dyalog/mapl.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/pkgs/by-name/dy/dyalog/mapl.patch b/pkgs/by-name/dy/dyalog/mapl.patch new file mode 100644 index 00000000000..32424bea124 --- /dev/null +++ b/pkgs/by-name/dy/dyalog/mapl.patch @@ -0,0 +1,31 @@ +diff --git a/mapl b/mapl +index c9d3727..de24c77 100755 +--- a/mapl ++++ b/mapl +@@ -20,26 +20,8 @@ SHORTVERSION=182U64 + LONGVERSION="18.2 64-bit Unicode" + REL="`echo "${LONGVERSION}" | sed 's/ .*$//'`" + +-# Find the Dyalog installation directory +-if [ "$(uname)" = Linux ]; then +- # this script location, canonical. +- THIS="$(readlink -f $0)" +-else +- # this script location. +- THIS="$0" +-fi +-export DYALOG=$(cd $(dirname $THIS) && pwd) +- + export APL_LANGUAGE_BAR_FILE=${DYALOG}/languagebar.json + +-if [ "$(uname)" = Linux ]; then +- if [ "x" = "x${LD_LIBRARY_PATH}" ]; then +- export LD_LIBRARY_PATH="${DYALOG}" +- else +- export LD_LIBRARY_PATH="${DYALOG}:${LD_LIBRARY_PATH}" +- fi +-fi +- + # Setup the configuration directory + MYCONFIGDIR=${HOME}/.dyalog + if [ ! -d "${MYCONFIGDIR}" ] ; then |