diff options
Diffstat (limited to 'ghc-shim.sh')
-rwxr-xr-x | ghc-shim.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ghc-shim.sh b/ghc-shim.sh index 6885dc7..8f6a12d 100755 --- a/ghc-shim.sh +++ b/ghc-shim.sh @@ -1,6 +1,7 @@ #!/usr/bin/env bash +thisdir="$(dirname "$0")" if [[ $# = 1 && $1 = --print-global-package-db ]]; then - echo /data/data/com.termux/files/home/ghc-boot-pkgdb + echo "$thisdir"/ghc-boot-pkgdb else #echo >/dev/tty "!! ghc $*" ghc "$@" |