summaryrefslogtreecommitdiff
path: root/src/password-store.sh
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 /src/password-store.sh
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
ed2imap.git/commit/lib/feed2imap/feed2imap.rb?h=master&id=e5e15ef3b1f5b95836fb31d94ba290b88e629e51&follow=1'>1.2.3 releaseAntonio Terceiro1-1/+1 2014-10-07Fix cleanup of maildirsAntonio Terceiro3-1/+16 Thanks to Sylvain L. Sauvage for the bug report 2014-05-18feed2imap-test: reuse cache dir/protect configAntonio Terceiro1-1/+1 this reduces the noise in the output and helps testing feed updates 2014-02-13feed2imap-test: can now take a feed URL as argumentAntonio Terceiro1-3/+22 2014-02-13update .gitignoreAntonio Terceiro1-0/+2 2014-02-13fix dependency on ruby-feedparserAntonio Terceiro1-1/+1 2014-02-05Release 1.2.2Antonio Terceiro2-2/+2 2014-02-05config: fix regression with arrays as targetAntonio Terceiro2-1/+17 2013-08-28Fix teardown method nameAntonio Terceiro1-1/+1