From 06e74873e38ccdd04b7b83f3dca4164b9e17c49f Mon Sep 17 00:00:00 2001 From: Christof Metzger-Kraus <christof.j.metzger@gmail.com> Date: Thu, 16 Feb 2017 10:17:04 +0100 Subject: [PATCH] The file revision.h has been renamed to OPALrevision.h --- hooks/post-applypatch | 4 ++-- hooks/post-checkout | 4 ++-- hooks/post-commit | 4 ++-- hooks/post-merge | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/hooks/post-applypatch b/hooks/post-applypatch index ff5d09fba..5ffb2fc04 100755 --- a/hooks/post-applypatch +++ b/hooks/post-applypatch @@ -3,10 +3,10 @@ REV=`git rev-parse HEAD` echo "#define GIT_VERSION \"$REV\"" > revision.tmp -diff revision.tmp src/revision.h 2>&1 > /dev/null +diff revision.tmp src/OPALrevision.h 2>&1 > /dev/null if [ $? -eq 1 ];then mv revision.tmp src/OPALrevision.h else rm revision.tmp -fi +fi \ No newline at end of file diff --git a/hooks/post-checkout b/hooks/post-checkout index ff5d09fba..5ffb2fc04 100755 --- a/hooks/post-checkout +++ b/hooks/post-checkout @@ -3,10 +3,10 @@ REV=`git rev-parse HEAD` echo "#define GIT_VERSION \"$REV\"" > revision.tmp -diff revision.tmp src/revision.h 2>&1 > /dev/null +diff revision.tmp src/OPALrevision.h 2>&1 > /dev/null if [ $? -eq 1 ];then mv revision.tmp src/OPALrevision.h else rm revision.tmp -fi +fi \ No newline at end of file diff --git a/hooks/post-commit b/hooks/post-commit index ff5d09fba..5ffb2fc04 100755 --- a/hooks/post-commit +++ b/hooks/post-commit @@ -3,10 +3,10 @@ REV=`git rev-parse HEAD` echo "#define GIT_VERSION \"$REV\"" > revision.tmp -diff revision.tmp src/revision.h 2>&1 > /dev/null +diff revision.tmp src/OPALrevision.h 2>&1 > /dev/null if [ $? -eq 1 ];then mv revision.tmp src/OPALrevision.h else rm revision.tmp -fi +fi \ No newline at end of file diff --git a/hooks/post-merge b/hooks/post-merge index ff5d09fba..5ffb2fc04 100755 --- a/hooks/post-merge +++ b/hooks/post-merge @@ -3,10 +3,10 @@ REV=`git rev-parse HEAD` echo "#define GIT_VERSION \"$REV\"" > revision.tmp -diff revision.tmp src/revision.h 2>&1 > /dev/null +diff revision.tmp src/OPALrevision.h 2>&1 > /dev/null if [ $? -eq 1 ];then mv revision.tmp src/OPALrevision.h else rm revision.tmp -fi +fi \ No newline at end of file -- GitLab