base16-schemes: unstable-2024-06-21 -> unstable-2024-11-12
[NixPkgs.git] / pkgs / by-name / dy / dyalog / dyalogscript.patch
blob3b15aa51411218545a7dbfdac7679e03863b4d3e
1 diff --git a/scriptbin/dyalogscript b/scriptbin/dyalogscript
2 index c99912738ec2..adeda1fe964e 100755
3 --- a/scriptbin/dyalogscript
4 +++ b/scriptbin/dyalogscript
5 @@ -2,7 +2,7 @@
6 #set -x
7 ## DO NOT CHANGE THIS FILE
9 -INSTALLDIR="/opt/mdyalog/19.0/64/unicode"
10 +INSTALLDIR="@installdir@"
11 EXE="dyalog"
13 ARGS=""
14 @@ -46,7 +46,7 @@ fi
15 # OPTS="$OPTS RIDE_INIT=$RIDE_INIT"
16 #fi
18 -: ${SCRIPTDIR:=$INSTALLDIR}
19 +SCRIPTDIR="@scriptdir@"
20 export LD_LIBRARY_PATH=${SCRIPTDIR}:${LD_LIBRARY_PATH}
22 eval "${SCRIPTDIR}/${EXE}" APLKEYS=\"$INSTALLDIR/aplkeys\" APLTRANS=\"$INSTALLDIR/apltrans\" ${APLT} ${APLK} $OPTS -script \"$SCRIPT\" "$ARGS"