This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[PATCH 1/2] Sync latest fix for git_version.sh from RadeonHD's tree
- From: Theodore Ts'o <tytso at mit dot edu>
- To: systemtap at sources dot redhat dot com
- Cc: Theodore Ts'o <tytso at mit dot edu>
- Date: Tue, 8 Jul 2008 20:51:44 -0400
- Subject: [PATCH 1/2] Sync latest fix for git_version.sh from RadeonHD's tree
This incorporates commit de4fbeeb: "Fix check for wrong macro in in
git-version.sh", from the xf86-video-radeonhd tree.
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
---
git_version.sh | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/git_version.sh b/git_version.sh
index 69eb0f2..5cf2943 100755
--- a/git_version.sh
+++ b/git_version.sh
@@ -314,7 +314,7 @@ int main(int argc, char *argv[])
const char *const prog = (idx)?(idx+1):(argv[0]);
#ifdef PACKAGE_VERSION
printf("%s: version %s, built from %s\n", prog, PACKAGE_VERSION, GIT_MESSAGE);
-#elif defined(GIT_USED)
+#elif defined(GIT_MESSAGE)
printf("%s: built from %s\n", prog, GIT_MESSAGE);
#endif
return 0;
--
1.5.6.1.205.ge2c7.dirty