mirror of
https://github.com/eth-p/bat-extras.git
synced 2024-12-13 09:40:42 +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
|
||||
# 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
|
||||
# parsing options with the shiftopt and shiftval functions.
|
||||
|
Loading…
Reference in New Issue
Block a user