From: Skyebee Date: Mon, 1 Jun 2026 17:24:43 +0000 (-0400) Subject: $WORKDIR is always the script's directory X-Git-Tag: v1.6.1-roc-dev~6^2~3 X-Git-Url: https://skyeroc.xyz/gitweb/?a=commitdiff_plain;h=40a5576220352515e7b6ee6ef180e407cfec3dc6;p=dgamelaunch $WORKDIR is always the script's directory --- diff --git a/install-dgl-nh500 b/install-dgl-nh500 index 9ac599a..8780485 100755 --- a/install-dgl-nh500 +++ b/install-dgl-nh500 @@ -214,7 +214,8 @@ COMPRESSBIN="/bin/gzip" GREPBIN="/bin/grep" # DON'T CHANGE THESE -WORKDIR="`pwd`" +WORKDIR="dirname `realpath $0`" +WORKDIR=`$WORKDIR` NETHACKBIN="$HACKDIR/nethack"