Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / by-name / dy / dyalog / mapl.patch
blob32424bea124efdb92ba286c458770b8b60850344
1 diff --git a/mapl b/mapl
2 index c9d3727..de24c77 100755
3 --- a/mapl
4 +++ b/mapl
5 @@ -20,26 +20,8 @@ SHORTVERSION=182U64
6 LONGVERSION="18.2 64-bit Unicode"
7 REL="`echo "${LONGVERSION}" | sed 's/ .*$//'`"
9 -# Find the Dyalog installation directory
10 -if [ "$(uname)" = Linux ]; then
11 - # this script location, canonical.
12 - THIS="$(readlink -f $0)"
13 -else
14 - # this script location.
15 - THIS="$0"
16 -fi
17 -export DYALOG=$(cd $(dirname $THIS) && pwd)
19 export APL_LANGUAGE_BAR_FILE=${DYALOG}/languagebar.json
21 -if [ "$(uname)" = Linux ]; then
22 - if [ "x" = "x${LD_LIBRARY_PATH}" ]; then
23 - export LD_LIBRARY_PATH="${DYALOG}"
24 - else
25 - export LD_LIBRARY_PATH="${DYALOG}:${LD_LIBRARY_PATH}"
26 - fi
27 -fi
29 # Setup the configuration directory
30 MYCONFIGDIR=${HOME}/.dyalog
31 if [ ! -d "${MYCONFIGDIR}" ] ; then