summaryrefslogtreecommitdiff
path: root/src
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
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
td>Ported gpytage pluginRené 'Necoro' Neumann2-16/+14 2008-07-03Ported Notify pluginRené 'Necoro' Neumann4-37/+51 2008-07-03Remove xsd and -x cmdline optionRené 'Necoro' Neumann2-107/+1 2008-07-03Ported completelyRené 'Necoro' Neumann3-548/+54 2008-07-03Should show dependencies nowRené 'Necoro' Neumann2-82/+128 2008-07-03New plugin system - first hackRené 'Necoro' Neumann2-420/+683 2008-06-30Now the new design is able to do the same as the old oneRené 'Necoro' Neumann3-168/+182 2008-06-30First draft of the new plugin windowRené 'Necoro' Neumann1-8/+172 2008-06-30Added stuff to plugin.pyRené 'Necoro' Neumann1-2/+24 2008-06-25Now load 22 versions when running the correct portageRené 'Necoro' Neumann4-8/+18 2008-06-25Added Package_22 and System_22René 'Necoro' Neumann4-5/+63