summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Vincent <pass@tlvince.com>2013-10-31 16:05:45 +0000
committerJason A. Donenfeld <Jason@zx2c4.com>2014-03-20 02:24:17 -0600
commitea0572cf2cf4980555c7f1dc4cbf9c0962041a6c (patch)
treed2f8c2b4e12b91784a6cf1cf13673709688e154c
parentf4a7d9ed71a8bc415be08bd709002b3ac0913654 (diff)
downloadpass-ea0572cf2cf4980555c7f1dc4cbf9c0962041a6c.tar.gz
pass-ea0572cf2cf4980555c7f1dc4cbf9c0962041a6c.tar.bz2
pass-ea0572cf2cf4980555c7f1dc4cbf9c0962041a6c.zip
Prefer bash parameter expansion over basename(1)
Diffstat (limited to '')
-rwxr-xr-xsrc/password-store.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/password-store.sh b/src/password-store.sh
index 84ac2d6..e9ba4f0 100755
--- a/src/password-store.sh
+++ b/src/password-store.sh
@@ -158,7 +158,7 @@ SHRED="shred -f -z"
# END Platform definable
#
-program="$(basename "$0")"
+program="${0##*/}"
command="$1"
if is_command "$command"; then
shift
ertions'>+3 2020-04-19SELECT is not necessary for most operations -- skip itRené 'Necoro' Neumann2-12/+1 2020-04-19Store path as array -- the delimiter is not always '.'René 'Necoro' Neumann3-36/+44 2020-04-19Split client part to client.goRené 'Necoro' Neumann2-125/+137 2020-04-19IMAP: Create foldersRené 'Necoro' Neumann1-4/+38 2020-04-19Improved IMAPRené 'Necoro' Neumann1-3/+88 2020-04-19Started IMAP connectionRené 'Necoro' Neumann4-0/+152 2020-04-19Use our own logger for debug for convenience sakeRené 'Necoro' Neumann1-2/+3 2020-04-19Fix debug logging m(René 'Necoro' Neumann1-2/+2 2020-04-19Rename util.go to log.go. Add verbose modeRené 'Necoro' Neumann4-24/+54 2020-04-19Clean go.modRené 'Necoro' Neumann2-3/+0 2020-04-19Do not print the parsedCfg anymoreRené 'Necoro' Neumann1-1/+1 2020-04-19Increase go-version to 1.14René 'Necoro' Neumann1-2/+2 2020-04-19CI: go vetRené 'Necoro' Neumann1-0/+3 2020-04-19Fetching and parsing the feedsRené 'Necoro' Neumann5-4/+113 2020-04-19Ignore all config*.ymlRené 'Necoro' Neumann1-1/+1