Remove PROGDIR variable
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
The "realpath -m" command is not compatible with old versions of Debian. The PROGDIR variable is unused.
This commit is contained in:
parent
5e4b60e61b
commit
98caca3592
|
@ -13,6 +13,8 @@ and this project **does not adhere to [Semantic Versioning](http://semver.org/sp
|
||||||
|
|
||||||
### Removed
|
### Removed
|
||||||
|
|
||||||
|
* Remove unused PROGDIR variable
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
### Security
|
### Security
|
||||||
|
|
|
@ -1517,8 +1517,6 @@ main() {
|
||||||
|
|
||||||
# shellcheck disable=SC2034
|
# shellcheck disable=SC2034
|
||||||
readonly PROGNAME=$(basename "$0")
|
readonly PROGNAME=$(basename "$0")
|
||||||
# shellcheck disable=SC2034
|
|
||||||
readonly PROGDIR=$(realpath -m "$(dirname "$0")")
|
|
||||||
# shellcheck disable=2124
|
# shellcheck disable=2124
|
||||||
readonly ARGS=$@
|
readonly ARGS=$@
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue