[readonly/geninitrd: 543/1068] - take version from Makefile

draenog draenog at pld-linux.org
Sat Nov 2 19:58:03 CET 2013


commit 658b80286ce511bc60b58c55fa10003d692c624a
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Thu Nov 29 07:56:40 2007 +0000

    - take version from Makefile
    
    svn-id: @9123

 make-tag.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/make-tag.sh b/make-tag.sh
index c02501d..9482c87 100755
--- a/make-tag.sh
+++ b/make-tag.sh
@@ -2,7 +2,7 @@
 url=$(svn info | awk '/^URL:/{gsub("/trunk$", "", $2); print $2}')
 rev=$(svn info | awk '/^Revision:/{print $2}')
 
-version=$(awk '/^RCSID=/ {print $3}' geninitrd)
+version=$(awk '/^VERSION.*=/{print $3}' Makefile)
 tag="$version"
 
 echo "Making tag: $tag at revision $rev"
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/readonly/geninitrd.git/commitdiff/147754ca159d40ca5eb541074dc043d8cbd92090



More information about the pld-cvs-commit mailing list