summaryrefslogtreecommitdiff
path: root/lb
diff options
context:
space:
mode:
authorJoshua Ismael Haase Hernández <hahj87@gmail.com>2012-03-03 11:10:31 -0600
committerJoshua Ismael Haase Hernández <hahj87@gmail.com>2012-03-03 11:10:31 -0600
commitff02084e732bfbbb2986d4c04373ff577cb2e488 (patch)
tree304a810d37b7961ca2769b5093858b11117f516b /lb
parentb0f34edcb6a7ef1a6a96423b12994943b90af5ed (diff)
parent73c4144faeea20c20ce7dfb977cd07077e82c0e3 (diff)
Merge branch 'master' of gitpar:libretools
Diffstat (limited to 'lb')
-rwxr-xr-xlb5
1 files changed, 3 insertions, 2 deletions
diff --git a/lb b/lb
index d4bd908..85fb4df 100755
--- a/lb
+++ b/lb
@@ -6,10 +6,11 @@ source /etc/libretools.conf
command=$1; shift
-[[ ! -f ~/l/libre${command} ]] && {
+[[ ! -x ~/l/libre"${command}" ]] && {
error "Command not found"
+ exit 1
}
-~/l/libre${command} $@
+~/l/libre${command} "$@"
exit $?