# HG changeset patch # User Arne Babenhauserheide # Date 1598397874 -7200 # Wed Aug 26 01:24:34 2020 +0200 # Node ID b88748bfa9da772fc007fbe6485e3ffc48a8ed18 # Parent 5253268104231b6eb34841f29adc4abb00b8a9c7 fix: use dirname instead of basename diff --git a/templates/guile/_TEMPLATE_PROJ_.scm b/templates/guile/_TEMPLATE_PROJ_.scm --- a/templates/guile/_TEMPLATE_PROJ_.scm +++ b/templates/guile/_TEMPLATE_PROJ_.scm @@ -1,6 +1,6 @@ #!/usr/bin/env bash # -*- scheme -*- -exec -a "$0" guile -L "$(basename "$(realpath "$0")")" -e '(_TEMPLATE_PROJ_)' -c '' "$@" +exec -a "$0" guile -L "$(dirname "$(realpath "$0")")" -e '(_TEMPLATE_PROJ_)' -c '' "$@" ; !# (define-module (_TEMPLATE_PROJ_) #:use-module (_TEMPLATE_PROJ_ _TEMPLATE_PROJ_)