From 62e21d16146530969d27b582e29303e83b659c56 Mon Sep 17 00:00:00 2001 From: Gardouille Date: Tue, 19 Jul 2022 11:33:20 +0200 Subject: [PATCH] Update shell template --- templates/skeleton.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/skeleton.sh b/templates/skeleton.sh index 6b0f08e..7c5ca54 100755 --- a/templates/skeleton.sh +++ b/templates/skeleton.sh @@ -8,9 +8,9 @@ # !!DATE!! # }}} # Vars {{{ -readonly PROGNAME=$(basename "${0}") -readonly PROGDIR=$(readlink -m $(dirname "${0}")) -readonly ARGS="${*}" +PROGNAME=$(basename "${0}"); readonly PROGNAME +PROGDIR=$(readlink -m $(dirname "${0}")); readonly PROGDIR +ARGS="${*}"; readonly ARGS readonly NBARGS="${#}" [ -z "${DEBUG}" ] && DEBUG=1 ## Export DEBUG for sub-script