aboutsummaryrefslogtreecommitdiff
path: root/lib/keyringer/actions/recipients
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2017-11-03 10:55:26 -0200
committerSilvio Rhatto <rhatto@riseup.net>2017-11-03 10:55:26 -0200
commitb6dec4f1efe948f01df02b364cbb7f7aeedaa2b1 (patch)
tree0a51277f829b08b792204c8b4fe06c33bff4591a /lib/keyringer/actions/recipients
parent374887922e7018e6b0c8e3d2ba8f52d4386ec682 (diff)
parent7fca7cd0433e6f97080ecf12bee64ec4f38948ba (diff)
downloadkeyringer-b6dec4f1efe948f01df02b364cbb7f7aeedaa2b1.tar.gz
keyringer-b6dec4f1efe948f01df02b364cbb7f7aeedaa2b1.tar.bz2
Merge branch 'develop'
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