Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1diff --git a/scriptbin/dyalogscript b/scriptbin/dyalogscript 2index 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 8 9-INSTALLDIR="/opt/mdyalog/19.0/64/unicode" 10+INSTALLDIR="@installdir@" 11 EXE="dyalog" 12 13 ARGS="" 14@@ -46,7 +46,7 @@ fi 15 # OPTS="$OPTS RIDE_INIT=$RIDE_INIT" 16 #fi 17 18-: ${SCRIPTDIR:=$INSTALLDIR} 19+SCRIPTDIR="@scriptdir@" 20 export LD_LIBRARY_PATH=${SCRIPTDIR}:${LD_LIBRARY_PATH} 21 22 eval "${SCRIPTDIR}/${EXE}" APLKEYS=\"$INSTALLDIR/aplkeys\" APLTRANS=\"$INSTALLDIR/apltrans\" ${APLT} ${APLK} $OPTS -script \"$SCRIPT\" "$ARGS"