summaryrefslogtreecommitdiff
path: root/src/libremessages
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2012-11-12 16:29:07 -0500
committerLuke Shumaker <LukeShu@sbcglobal.net>2012-11-12 16:29:07 -0500
commitde192642ea009e9b8e16f54209575536538869e2 (patch)
treeda9f16adc50abe3f724e1e60ce424f0bf67ea260 /src/libremessages
parent040111e9d8419456255816600784a496febd57b0 (diff)
touch up libremessages
Diffstat (limited to 'src/libremessages')
-rwxr-xr-xsrc/libremessages8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/libremessages b/src/libremessages
index 68badb8..756e19a 100755
--- a/src/libremessages
+++ b/src/libremessages
@@ -1,3 +1,4 @@
+#!/bin/bash
# Copyright (c) 2006-2010 Pacman Development Team <pacman-dev@archlinux.org>
# Copyright (c) 2002-2006 by Judd Vinet <jvinet@zeroflux.org>
# Copyright (c) 2005 by Aurelien Foret <orelien@chez.com>
@@ -105,3 +106,10 @@ in_array() {
return 1 # Not Found
}
+
+if [[ "${0##*/}" = libremessages ]]; then
+ _libremessages_cmd=$1
+ shift
+ "$_libremessages_cmd" "$@"
+ unset _libremessages_cmd
+fi