dect
/
linux-2.6
Archived
13
0
Fork 0

rpm-pkg: Fix when current directory is a symlink

The better fix would be to stop using the parent directory (principle of
least surprise), but as long as we use it, use it consistently.

Signed-off-by: Michal Marek <mmarek@suse.cz>
This commit is contained in:
Michal Marek 2011-05-05 00:37:13 +02:00
parent e1287eb891
commit 857c7e4387
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ RPM := $(shell if [ -x "/usr/bin/rpmbuild" ]; then echo rpmbuild; \
# Remove hyphens since they have special meaning in RPM filenames
KERNELPATH := kernel-$(subst -,_,$(KERNELRELEASE))
MKSPEC := $(srctree)/scripts/package/mkspec
PREV := set -e; cd ..;
PREV := set -e; cd -P ..;
# rpm-pkg
# ---------------------------------------------------------------------------