* [PATCH] rpm-pkg: Fix when current directory is a symlink
@ 2011-05-04 20:49 Michal Marek
2011-05-24 15:48 ` Michal Marek
0 siblings, 1 reply; 2+ messages in thread
From: Michal Marek @ 2011-05-04 20:49 UTC (permalink / raw)
To: linux-kbuild; +Cc: linux-kernel
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>
---
scripts/package/Makefile | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/scripts/package/Makefile b/scripts/package/Makefile
index 1b7eaea..006960e 100644
--- a/scripts/package/Makefile
+++ b/scripts/package/Makefile
@@ -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
# ---------------------------------------------------------------------------
--
1.7.4.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] rpm-pkg: Fix when current directory is a symlink
2011-05-04 20:49 [PATCH] rpm-pkg: Fix when current directory is a symlink Michal Marek
@ 2011-05-24 15:48 ` Michal Marek
0 siblings, 0 replies; 2+ messages in thread
From: Michal Marek @ 2011-05-24 15:48 UTC (permalink / raw)
To: linux-kbuild; +Cc: linux-kernel
On 4.5.2011 22:49, Michal Marek wrote:
> 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>
Pushed to kbuild-2.6.git#packaging.
Michal
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-05-24 15:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-04 20:49 [PATCH] rpm-pkg: Fix when current directory is a symlink Michal Marek
2011-05-24 15:48 ` Michal Marek
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.