summaryrefslogtreecommitdiff
path: root/scripts/package/Makefile
diff options
context:
space:
mode:
authorArun Sharma <asharma@fb.com>2011-05-05 00:48:11 +0400
committerMichal Marek <mmarek@suse.cz>2011-05-05 01:07:48 +0400
commite1287eb891e326ea8451b03ba1f9b0d66abdb13d (patch)
tree214918bb71630a345fa998684b9e83b968549018 /scripts/package/Makefile
parent0ce790e7d736cedc563e1fb4e998babf5a4dbc3d (diff)
downloadlinux-e1287eb891e326ea8451b03ba1f9b0d66abdb13d.tar.xz
Replace '-' in kernel version with '_'
Removing the '-' results in hard to read filenames such as: kernel-2.6.35.2000042g76e4caf-28.x86_64.rpm kernel-2.6.35.2_000042_g76e4caf-28.x86_64.rpm is easier to read. Signed-off-by: Arun Sharma <asharma@fb.com> Signed-off-by: Michal Marek <mmarek@suse.cz>
Diffstat (limited to 'scripts/package/Makefile')
-rw-r--r--scripts/package/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/package/Makefile b/scripts/package/Makefile
index a834b935f536..1b7eaea83123 100644
--- a/scripts/package/Makefile
+++ b/scripts/package/Makefile
@@ -26,7 +26,7 @@ RPM := $(shell if [ -x "/usr/bin/rpmbuild" ]; then echo rpmbuild; \
else echo rpm; fi)
# Remove hyphens since they have special meaning in RPM filenames
-KERNELPATH := kernel-$(subst -,,$(KERNELRELEASE))
+KERNELPATH := kernel-$(subst -,_,$(KERNELRELEASE))
MKSPEC := $(srctree)/scripts/package/mkspec
PREV := set -e; cd ..;