summaryrefslogtreecommitdiffstats
path: root/scripts/package/Makefile
diff options
context:
space:
mode:
authorMichal Marek <mmarek@suse.cz>2011-06-08 16:01:34 +0200
committerMichal Marek <mmarek@suse.cz>2011-06-08 16:01:34 +0200
commita61944c251c3e68c4bbf6eb96ff61c7b286351c5 (patch)
treefd9f82297805d043a45a828626dfd29bddc48b00 /scripts/package/Makefile
parentac9a126571e76abec76e1c1f46672e82501eab1e (diff)
parent55922c9d1b84b89cb946c777fddccb3247e7df2c (diff)
downloadlinux-a61944c251c3e68c4bbf6eb96ff61c7b286351c5.tar.gz
linux-a61944c251c3e68c4bbf6eb96ff61c7b286351c5.tar.bz2
linux-a61944c251c3e68c4bbf6eb96ff61c7b286351c5.zip
Merge commit 'v3.0-rc1' into kbuild/kconfig
Diffstat (limited to 'scripts/package/Makefile')
-rw-r--r--scripts/package/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/package/Makefile b/scripts/package/Makefile
index a834b935f536..006960ebbce9 100644
--- a/scripts/package/Makefile
+++ b/scripts/package/Makefile
@@ -26,9 +26,9 @@ 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 ..;
+PREV := set -e; cd -P ..;
# rpm-pkg
# ---------------------------------------------------------------------------