aboutsummaryrefslogtreecommitdiff
path: root/lib/keyringer/actions/recipients
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2017-11-03 11:03:39 -0200
committerSilvio Rhatto <rhatto@riseup.net>2017-11-03 11:03:39 -0200
commit6c62a1906b59e4ab8eb3475ebfe3c3b7cfa67f0b (patch)
treeee989361e1451ed2980270d8fb70c0ed4bd3dda7 /lib/keyringer/actions/recipients
parent5f0fb30328d9b37ee53aafd65690a1ee90ea6799 (diff)
parent7fca7cd0433e6f97080ecf12bee64ec4f38948ba (diff)
downloadkeyringer-6c62a1906b59e4ab8eb3475ebfe3c3b7cfa67f0b.tar.gz
keyringer-6c62a1906b59e4ab8eb3475ebfe3c3b7cfa67f0b.tar.bz2
New upstream version 0.5.2upstream_keyringer_0.5.2
Diffstat (limited to 'lib/keyringer/actions/recipients')
-rwxr-xr-xlib/keyringer/actions/recipients4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/keyringer/actions/recipients b/lib/keyringer/actions/recipients
index 3c18516..889f73e 100755
--- a/lib/keyringer/actions/recipients
+++ b/lib/keyringer/actions/recipients
@@ -38,7 +38,9 @@ elif [ "$COMMAND" == "edit" ]; then
keyringer_exec git "$BASEDIR" add "$RECIPIENTS_FILE_BASE"
else
echo "Please specify one recipient to edit among the available:"
- ls $RECIPIENTS | sed -e 's/^/\t/'
+ # \t is a GNU extension
+ # https://stackoverflow.com/questions/8400602/sed-replace-literal-tab
+ ls $RECIPIENTS | sed -e "`printf 's/^/\t/'`"
exit 1
fi
else