summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2010-09-18 13:54:57 -0300
committerSilvio Rhatto <rhatto@riseup.net>2010-09-18 13:54:57 -0300
commit985c47cf89e4475fceaf00bc68e694eedf2256b0 (patch)
tree713463a938aae9b80ad1068c59edce9a43aa99a9
parentd32faa9d6cddbc714de708ecc052b43b49d7faa8 (diff)
downloadkeyringer-985c47cf89e4475fceaf00bc68e694eedf2256b0.tar.gz
keyringer-985c47cf89e4475fceaf00bc68e694eedf2256b0.tar.bz2
Source $LIB or abort
-rwxr-xr-xshare/keyringer/append2
-rwxr-xr-xshare/keyringer/decrypt2
-rwxr-xr-xshare/keyringer/del2
-rwxr-xr-xshare/keyringer/edit2
-rwxr-xr-xshare/keyringer/encrypt2
-rwxr-xr-xshare/keyringer/genpair2
-rwxr-xr-xshare/keyringer/git2
-rwxr-xr-xshare/keyringer/ls2
-rwxr-xr-xshare/keyringer/newkeys2
-rwxr-xr-xshare/keyringer/options2
-rwxr-xr-xshare/keyringer/recipients2
-rwxr-xr-xshare/keyringer/recrypt2
12 files changed, 12 insertions, 12 deletions
diff --git a/share/keyringer/append b/share/keyringer/append
index 309f88c..18e8232 100755
--- a/share/keyringer/append
+++ b/share/keyringer/append
@@ -5,7 +5,7 @@
# Load functions
LIB="`dirname $0`/../../lib/keyringer/functions"
-source $LIB
+source $LIB || exit 1
keyringer_set_env $*
# Get file
diff --git a/share/keyringer/decrypt b/share/keyringer/decrypt
index 1fe0ee3..003dfd1 100755
--- a/share/keyringer/decrypt
+++ b/share/keyringer/decrypt
@@ -5,7 +5,7 @@
# Load functions
LIB="`dirname $0`/../../lib/keyringer/functions"
-source $LIB
+source $LIB || exit 1
keyringer_set_env $*
# Get file
diff --git a/share/keyringer/del b/share/keyringer/del
index d8ed68f..254acb0 100755
--- a/share/keyringer/del
+++ b/share/keyringer/del
@@ -5,7 +5,7 @@
# Load functions
LIB="`dirname $0`/../../lib/keyringer/functions"
-source $LIB
+source $LIB || exit 1
keyringer_set_env $*
# Get file
diff --git a/share/keyringer/edit b/share/keyringer/edit
index 4a5be14..6b201a9 100755
--- a/share/keyringer/edit
+++ b/share/keyringer/edit
@@ -5,7 +5,7 @@
# Load functions
LIB="`dirname $0`/../../lib/keyringer/functions"
-source $LIB
+source $LIB || exit 1
keyringer_set_env $*
# Get file
diff --git a/share/keyringer/encrypt b/share/keyringer/encrypt
index 1f0ec47..d0c0a32 100755
--- a/share/keyringer/encrypt
+++ b/share/keyringer/encrypt
@@ -5,7 +5,7 @@
# Load functions
LIB="`dirname $0`/../../lib/keyringer/functions"
-source $LIB
+source $LIB || exit 1
keyringer_set_env $*
# Aditional parameters
diff --git a/share/keyringer/genpair b/share/keyringer/genpair
index 9177ba3..77b9388 100755
--- a/share/keyringer/genpair
+++ b/share/keyringer/genpair
@@ -112,7 +112,7 @@ function genpair_ssl {
# Load functions
LIB="`dirname $0`/../../lib/keyringer"
-source $LIB/functions
+source $LIB/functions || exit 1
keyringer_set_env $*
# Aditional parameters
diff --git a/share/keyringer/git b/share/keyringer/git
index b453a8f..d9a9f82 100755
--- a/share/keyringer/git
+++ b/share/keyringer/git
@@ -5,7 +5,7 @@
# Load functions
LIB="`dirname $0`/../../lib/keyringer/functions"
-source $LIB
+source $LIB || exit 1
keyringer_set_env $*
# Aditional parameters
diff --git a/share/keyringer/ls b/share/keyringer/ls
index 81e3177..9d987de 100755
--- a/share/keyringer/ls
+++ b/share/keyringer/ls
@@ -5,7 +5,7 @@
# Load functions
LIB="`dirname $0`/../../lib/keyringer/functions"
-source $LIB
+source $LIB || exit 1
keyringer_set_env $*
# Aditional parameters
diff --git a/share/keyringer/newkeys b/share/keyringer/newkeys
index eff529e..fc404bb 100755
--- a/share/keyringer/newkeys
+++ b/share/keyringer/newkeys
@@ -36,7 +36,7 @@ function newkeys_puppet {
# Load functions
LIB="`dirname $0`/../../lib/keyringer"
-source $LIB/functions
+source $LIB/functions || exit 1
keyringer_set_env $*
# Command parser
diff --git a/share/keyringer/options b/share/keyringer/options
index 6708b54..626969f 100755
--- a/share/keyringer/options
+++ b/share/keyringer/options
@@ -5,7 +5,7 @@
# Load functions
LIB="`dirname $0`/../../lib/keyringer"
-source $LIB/functions
+source $LIB/functions || exit 1
keyringer_set_env $*
# Command parser
diff --git a/share/keyringer/recipients b/share/keyringer/recipients
index 36eefcc..df707c5 100755
--- a/share/keyringer/recipients
+++ b/share/keyringer/recipients
@@ -5,7 +5,7 @@
# Load functions
LIB="`dirname $0`/../../lib/keyringer"
-source $LIB/functions
+source $LIB/functions || exit 1
keyringer_set_env $*
# Command parser
diff --git a/share/keyringer/recrypt b/share/keyringer/recrypt
index a45efa1..bc1147c 100755
--- a/share/keyringer/recrypt
+++ b/share/keyringer/recrypt
@@ -5,7 +5,7 @@
# Load functions
LIB="`dirname $0`/../../lib/keyringer/functions"
-source $LIB
+source $LIB || exit 1
keyringer_set_env $*
# Get file