diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-09-22 18:13:15 -0400 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-09-22 18:13:15 -0400 |
commit | 04ba2e4b62c31e867cbc873d636e3184a009cac6 (patch) | |
tree | dab144cd1312f7be0e457e436bd57e82d1899db1 /src/lib/libremessages | |
parent | 842eab9c67f0b6a45b5247da9a4cdb750431013d (diff) | |
parent | 610699384997e346f7826fe912dcd511ecc4cd8c (diff) |
Merge commit '610699'
Conflicts:
src/abslibre-tools/createworkdir
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" "$@" |