summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-08-01 20:41:33 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-08-01 20:41:33 +0000
commitac0a00a581823c85963e9838a7085cb3f99a458f (patch)
tree5647b7a63df0796e2dc40da0662c736de761ee69
parent4ac87eb87fd96a07258057ce173c518fdee4f8b1 (diff)
downloaddrakx-ac0a00a581823c85963e9838a7085cb3f99a458f.tar
drakx-ac0a00a581823c85963e9838a7085cb3f99a458f.tar.gz
drakx-ac0a00a581823c85963e9838a7085cb3f99a458f.tar.bz2
drakx-ac0a00a581823c85963e9838a7085cb3f99a458f.tar.xz
drakx-ac0a00a581823c85963e9838a7085cb3f99a458f.zip
s/head -1/head -n 1/
(am i the only one who thinks changing head's usage is really stupid? well...)
-rw-r--r--perl-install/Makefile4
1 files changed, 2 insertions, 2 deletions
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