[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] Fix installation decision to make the DISTDIR and DESTDIR absolute before
# HG changeset patch # User emellor@xxxxxxxxxxxxxxxxxxxxxx # Node ID a0ec7370eec0d2269379accf83b610b4669ec6f9 # Parent bb127c984f740a23e8314168436cdba0e2752f05 Fix installation decision to make the DISTDIR and DESTDIR absolute before comparing them. Signed-off-by: Ewan Mellor <ewan@xxxxxxxxxxxxx> diff -r bb127c984f74 -r a0ec7370eec0 tools/examples/Makefile --- a/tools/examples/Makefile Sat Oct 15 11:52:38 2005 +++ b/tools/examples/Makefile Sat Oct 15 11:55:03 2005 @@ -32,7 +32,9 @@ UDEV_RULES_DIR = /etc/udev/rules.d UDEV_RULES = xen-backend.rules -ifeq ($(findstring $(DISTDIR),$(DESTDIR)),$(DISTDIR)) +DI = $(shell readlink -f $(DISTDIR)) +DE = $(shell readlink -f $(DESTDIR)) +ifeq ($(findstring $(DI),$(DE)),$(DI)) HOTPLUGS=install-hotplug install-udev else ifeq ($(shell [ -x /sbin/udev ] && [ ! -z `udev -V` ] && [ `/sbin/udev -V` -ge 059 ] && echo 1),1) _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |