mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 19:02:57 +00:00
32 lines
786 B
Diff
32 lines
786 B
Diff
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
|