From 98caca35926735424e0d4de681f9a1c4db62d811 Mon Sep 17 00:00:00 2001 From: Jeremy Lecour Date: Wed, 17 Jun 2020 22:51:41 +0200 Subject: [PATCH] Remove PROGDIR variable The "realpath -m" command is not compatible with old versions of Debian. The PROGDIR variable is unused. --- CHANGELOG | 2 ++ evocheck.sh | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index c2975b4..b9ba4f1 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -13,6 +13,8 @@ and this project **does not adhere to [Semantic Versioning](http://semver.org/sp ### Removed +* Remove unused PROGDIR variable + ### Fixed ### Security diff --git a/evocheck.sh b/evocheck.sh index c94ee1a..9163846 100755 --- a/evocheck.sh +++ b/evocheck.sh @@ -1517,8 +1517,6 @@ main() { # shellcheck disable=SC2034 readonly PROGNAME=$(basename "$0") -# shellcheck disable=SC2034 -readonly PROGDIR=$(realpath -m "$(dirname "$0")") # shellcheck disable=2124 readonly ARGS=$@