public inbox for cluster-cvs@sourceware.org
help / color / mirror / Atom feed
* cluster: STABLE3 - gfs2: use relative links
@ 2009-05-04  9:54 Fabio M. Di Nitto
  0 siblings, 0 replies; only message in thread
From: Fabio M. Di Nitto @ 2009-05-04  9:54 UTC (permalink / raw)
  To: cluster-cvs-relay

Gitweb:        http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=709f5963f68d4b3d797b17056fa2f5f807793e49
Commit:        709f5963f68d4b3d797b17056fa2f5f807793e49
Parent:        844967287b4174065a39bf4554d049b68e4dde40
Author:        Fabio M. Di Nitto <fdinitto@redhat.com>
AuthorDate:    Mon May 4 11:50:29 2009 +0200
Committer:     Fabio M. Di Nitto <fdinitto@redhat.com>
CommitterDate: Mon May 4 11:50:29 2009 +0200

gfs2: use relative links

avoid hardcoding paths and use relative links

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
---
 gfs2/mkfs/Makefile |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/gfs2/mkfs/Makefile b/gfs2/mkfs/Makefile
index aff94df..80d9d3f 100644
--- a/gfs2/mkfs/Makefile
+++ b/gfs2/mkfs/Makefile
@@ -35,10 +35,10 @@ ${TARGET1}: ${OBJS} ${LDDEPS}
 	$(CC) -o $@ $^ $(LDFLAGS)
 
 ${TARGET2}: ${TARGET1}
-	ln -sf /sbin/${TARGET1} ${TARGET2}
+	ln -sf ${relativesbin}/${TARGET1} ${TARGET2}
 
 ${TARGET3}: ${TARGET1}
-	ln -sf /sbin/${TARGET1} ${TARGET3}
+	ln -sf ${relativesbin}/${TARGET1} ${TARGET3}
 
 depends:
 	$(MAKE) -C ../libgfs2 all


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-05-04  9:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-05-04  9:54 cluster: STABLE3 - gfs2: use relative links Fabio M. Di Nitto

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).