Skip to content

Commit

Permalink
rpm-pkg: Fix when current directory is a symlink
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
michal42 committed May 24, 2011
1 parent e1287eb commit 857c7e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/package/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
# ---------------------------------------------------------------------------
Expand Down

0 comments on commit 857c7e4

Please sign in to comment.