diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-09-12 11:38:08 -0400 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-09-12 11:38:08 -0400 |
commit | 610699384997e346f7826fe912dcd511ecc4cd8c (patch) | |
tree | aa15488bb29b895a1eba569852d1a69a67ba06f1 /src/lib/libremessages | |
parent | eeba3ea0411078424d8f0d127d792618c2a929d3 (diff) | |
parent | 6d6b719221d3b4190325b43a3fbfd14405765420 (diff) |
Merge branch 'fauno~2' (early part) into master
Diffstat (limited to 'src/lib/libremessages')
-rwxr-xr-x | src/lib/libremessages | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/lib/libremessages b/src/lib/libremessages index 46a45fb..c6d08e2 100755 --- a/src/lib/libremessages +++ b/src/lib/libremessages @@ -1,5 +1,7 @@ -#!/bin/bash -euE -#!/bin/bash +#!/usr/bin/env bash +# This may be included with or without `set -euE` +# When run directly, it does `set -euE` + # Copyright (c) 2002-2006 by Judd Vinet <jvinet@zeroflux.org> # Copyright (c) 2006-2010 Pacman Development Team <pacman-dev@archlinux.org> # Copyright (c) 2005 by Aurelien Foret <orelien@chez.com> @@ -122,6 +124,7 @@ term_title() { ################################################################################ if [[ "${0##*/}" == libremessages ]]; then + set -euE _libremessages_cmd=$1 shift "$_libremessages_cmd" "$@" |