[jhbuild] scripts: Remove bashism from debian-python2-postinstall-hook.sh
- From: Emanuele Aina <emaaa src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [jhbuild] scripts: Remove bashism from debian-python2-postinstall-hook.sh
- Date: Sat, 9 Feb 2013 11:48:03 +0000 (UTC)
commit 1e566019af40c3538e42255d4276701275f6c78b
Author: Emanuele Aina <emanuele aina collabora com>
Date: Sat Feb 9 12:42:41 2013 +0100
scripts: Remove bashism from debian-python2-postinstall-hook.sh
https://bugzilla.gnome.org/show_bug.cgi?id=692825
scripts/debian-python2-postinstall-hook.sh | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/scripts/debian-python2-postinstall-hook.sh b/scripts/debian-python2-postinstall-hook.sh
index 889e175..0666ca6 100755
--- a/scripts/debian-python2-postinstall-hook.sh
+++ b/scripts/debian-python2-postinstall-hook.sh
@@ -12,7 +12,7 @@ BINDIR=$1
DEST="$BINDIR/python2"
PYTHON=$(which python 2>/dev/null || true);
-function die() { echo "$1" >&2 ; exit 2; }
+die() { echo "$1" >&2 ; exit 2; }
test -n "$BINDIR" || die "Usage: $0 BINDIR"
test -d "$BINDIR" || die "$0: '$BINDIR' is not a directory"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]