From 8c4b65e26f83cc906541772ed9122328bbf8817d Mon Sep 17 00:00:00 2001 From: areq Date: Fri, 8 Aug 2003 14:09:14 +0000 Subject: [PATCH] - better check VERSION - don't need install rc-script, bsp in builder svn-id: @1272 --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 1e688aa..13633f6 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -VERSION=$(shell ./geninitrd --version 2>/dev/null|awk '{print $$3}') +VERSION=$(shell awk '/^RCSID=/ {print $$3}' geninitrd) FILES=Makefile geninitrd.sysconfig geninitrd geninitrd.8 geninitrd.8.xml BUILDROOT=$(DESTDIR) -- 2.44.0