mirror of
https://github.com/eth-p/bat-extras.git
synced 2024-12-14 10:10:41 +01:00
Fix $PROGRAM variable not taking the program name
This commit is contained in:
parent
a1cf0eca18
commit
6e8959b1d6
@ -5,7 +5,7 @@
|
|||||||
# Repository: https://github.com/eth-p/bat-extras
|
# Repository: https://github.com/eth-p/bat-extras
|
||||||
# Issues: https://github.com/eth-p/bat-extras/issues
|
# Issues: https://github.com/eth-p/bat-extras/issues
|
||||||
# -----------------------------------------------------------------------------
|
# -----------------------------------------------------------------------------
|
||||||
PROGRAM="$(basename "${BASH_SOURCE[0]}")"
|
PROGRAM="$(basename "$0" .sh)"
|
||||||
|
|
||||||
# Sets the internal _ARGV, _ARGV_INDEX, and _ARGV_LAST variables used when
|
# Sets the internal _ARGV, _ARGV_INDEX, and _ARGV_LAST variables used when
|
||||||
# parsing options with the shiftopt and shiftval functions.
|
# parsing options with the shiftopt and shiftval functions.
|
||||||
|
Loading…
Reference in New Issue
Block a user