[Cmake-commits] CMake branch, hooks, updated. 8653d286060b71b74b5a89ec7075617a76f81c3e

Brad King brad.king at kitware.com
Tue Aug 3 11:09:33 EDT 2010


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "CMake".

The branch, hooks has been updated
       via  8653d286060b71b74b5a89ec7075617a76f81c3e (commit)
      from  6c7e3f42ba6eb3e415a93b4e6d0494d66474b213 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=8653d286060b71b74b5a89ec7075617a76f81c3e
commit 8653d286060b71b74b5a89ec7075617a76f81c3e
Author:     Gaëtan Lehmann <gaetan.lehmann at jouy.inra.fr>
AuthorDate: Tue Aug 3 11:00:14 2010 -0400
Commit:     Brad King <brad.king at kitware.com>
CommitDate: Tue Aug 3 11:07:24 2010 -0400

    Reference bash explicitly in shebang lines
    
    On Solaris, where /bin/sh is actually sh, not bash, some expressions
    like $() are not supported.  Git's own scripts on this machine are
    configured to use "#!/bin/bash".  Change our shebang line to
    
      #!/usr/bin/env bash
    
    which should work almost everywhere.

diff --git a/commit-msg b/commit-msg
index e3b51de..715837c 100755
--- a/commit-msg
+++ b/commit-msg
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/usr/bin/env bash
 #
 # Copy or link this file as ".git/hooks/pre-commit".
 
diff --git a/pre-commit b/pre-commit
index 75c7f82..9289382 100755
--- a/pre-commit
+++ b/pre-commit
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/usr/bin/env bash
 #
 # Copy or link this file as ".git/hooks/pre-commit".
 

-----------------------------------------------------------------------

Summary of changes:
 commit-msg |    2 +-
 pre-commit |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
CMake


More information about the Cmake-commits mailing list