linux-rpm.mk: Fix EXTRAVERSION replacement after patching

This commit is contained in:
Jan Lindemann 2005-04-04 14:33:09 +00:00 committed by Jan Lindemann
commit 611b134ebd

View file

@ -92,7 +92,7 @@ config-$(KERNEL_VERSION):
cvs commit
toplevel-makefile: unpack.done
sed "s/^ *EXTRAVERSION *=/EXTRAVERSION = -$(KERNEL_RELEASE)/" linux-$(KERNEL_VERSION)/Makefile >$@
sed "/^ *EXTRAVERSION *=/ !d; s/ *$$/-$(KERNEL_RELEASE)/" linux-$(KERNEL_VERSION)/Makefile >$@
linux-$(KERNEL_VERSION)/Makefile: toplevel-makefile
cp $< $@