[hackers] [wmii] Use --template instead of awk for VERSION as suggested by Maxi

From: Kris Maglione <jg_AT_suckless.org>
Date: Mon Feb 19 22:48:46 2007

changeset: 1910:873cf58c0f19
tag: tip
user: Kris Maglione <jg_AT_suckless.org>
date: Mon Feb 19 16:44:20 2007 -0500
summary: Use --template instead of awk for VERSION as suggested by Maxi

diff -r 8a96c0a396c3 -r 873cf58c0f19 config.mk
--- a/config.mk Mon Feb 19 16:39:48 2007 -0500
+++ b/config.mk Mon Feb 19 16:44:20 2007 -0500
@@ -1,5 +1,5 @@
 # wmii version
-VERSION = $$(hg tip | awk -F '[: ]+' '/^changeset:/ { print "hg" $$2 }')
+VERSION = $$(hg tip --template 'hg\#rev\#')
 CONFVERSION = 3.5
 
 # Customize below to fit your system
Received on Mon Feb 19 2007 - 22:48:46 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:55:31 UTC