From ac0a00a581823c85963e9838a7085cb3f99a458f Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Fri, 1 Aug 2003 20:41:33 +0000 Subject: s/head -1/head -n 1/ (am i the only one who thinks changing head's usage is really stupid? well...) --- perl-install/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'perl-install/Makefile') diff --git a/perl-install/Makefile b/perl-install/Makefile index de5bf84d4..4d9f6027c 100644 --- a/perl-install/Makefile +++ b/perl-install/Makefile @@ -1,6 +1,6 @@ PACKAGE=drakxtools -PKGVERSION:=$(shell rpm -q --qf '%{VERSION}\n' --specfile $(PACKAGE).spec|head -1) -RELEASE:=$(shell rpm -q --qf '%{RELEASE}\n' --specfile $(PACKAGE).spec|head -1) +PKGVERSION:=$(shell rpm -q --qf '%{VERSION}\n' --specfile $(PACKAGE).spec|head -n 1) +RELEASE:=$(shell rpm -q --qf '%{RELEASE}\n' --specfile $(PACKAGE).spec|head -n 1) TAG := $(shell echo "V$(PKGVERSION)_$(RELEASE)" | tr -- '-.' '__') include Makefile.config -- cgit v1.2.1