aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2014-08-16 20:25:01 -0300
committerSilvio Rhatto <rhatto@riseup.net>2014-08-16 20:25:01 -0300
commitf63b965d14466197240a207509bddb9f204d64bc (patch)
tree9befed4911b061a1ae437a0c6639db06ce06ae10
parent20125ba1c35ee8bceb0e3ea1ab9c3b6017b11aa1 (diff)
downloadkeyringer-f63b965d14466197240a207509bddb9f204d64bc.tar.gz
keyringer-f63b965d14466197240a207509bddb9f204d64bc.tar.bz2
Removing trailing spaces
-rwxr-xr-xlib/keyringer/functions8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/keyringer/functions b/lib/keyringer/functions
index 0360bb4..5dbb6b4 100755
--- a/lib/keyringer/functions
+++ b/lib/keyringer/functions
@@ -72,7 +72,7 @@ function keyringer_exec {
action="$1"
basedir="$2"
shift 2
-
+
# Dispatch
if keyringer_has_action "$action"; then
"$ACTIONS/$action" "$basedir" $*
@@ -171,7 +171,7 @@ function keyringer_set_tmpfile {
else
TMPWORK="$(mktemp "$template")"
fi
-
+
if [ "$?" != "0" ]; then
printf "Error: can't set TMPWORK %s\n" "$TMPWORK"
exit 1
@@ -250,7 +250,7 @@ function keyringer_git_ignore {
function keyringer_set_env {
if [ -z "$1" ]; then
echo "Error: missing arguments for keyringer_set_env"
- exit 1
+ exit 1
fi
ACTIONS="`dirname $0`"
@@ -429,7 +429,7 @@ function keyringer_get_option {
# Get a file argument
function keyringer_get_file {
FILE="$(keyringer_filename "$RELATIVE_PATH/$1")"
-
+
if [ -z "$FILE" ]; then
keyringer_action_usage
exit 1