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

Gitweb:        http://git.fedorahosted.org/git/gfs2-utils.git?p=gfs2-utils.git;a=commitdiff;h=35c36b8eed9295780feb1be04ca77170a4d512bc
Commit:        35c36b8eed9295780feb1be04ca77170a4d512bc
Parent:        9c32940859baabb0f905b33445f8d6fde7d54d5b
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 12:04:11 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 10:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-05-04 10:06 gfs2-utils: master - 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).