[pygi] Use bash explicitely in the pre-commit hook.
- From: Steve Frécinaux <sfre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pygi] Use bash explicitely in the pre-commit hook.
- Date: Wed, 9 Jun 2010 07:49:37 +0000 (UTC)
commit b435319fe830a909cc4d414533b3b66574931e24
Author: Steve Frécinaux <code istique net>
Date: Mon Jun 7 09:54:06 2010 +0200
Use bash explicitely in the pre-commit hook.
The "builtin" command is not available in all sh flavours, so the
pre-commit hook is going to fail if you use dash or others instead of
bash as your default 'sh' alias.
https://bugzilla.gnome.org/show_bug.cgi?id=620805
pre-commit.hook | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/pre-commit.hook b/pre-commit.hook
index 6eafd52..1397933 100755
--- a/pre-commit.hook
+++ b/pre-commit.hook
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
#
# Check that the code follows a consistant code style
#
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]