From: David Sterba Date: Wed, 4 Feb 2015 17:10:23 +0000 (+0100) Subject: btrfs-progs: build, fix the source of btrfsck symlink X-Git-Tag: upstream/4.16.1~2380 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=779499a9addb90fa38597bba98523b1717982845;p=platform%2Fupstream%2Fbtrfs-progs.git btrfs-progs: build, fix the source of btrfsck symlink The installed symlink points to the absolute path of btrfs, a relative link is enough. Reported-by: WorMzy Tykashi Signed-off-by: David Sterba --- diff --git a/Makefile.in b/Makefile.in index 73983cc..bd6fc34 100644 --- a/Makefile.in +++ b/Makefile.in @@ -318,7 +318,7 @@ install: $(libs) $(progs) $(INSTALLDIRS) $(INSTALL) $(progs) $(DESTDIR)$(bindir) $(INSTALL) fsck.btrfs $(DESTDIR)$(bindir) # btrfsck is a link to btrfs in the src tree, make it so for installed file as well - $(LN_S) -f $(DESTDIR)$(bindir)/btrfs $(DESTDIR)$(bindir)/btrfsck + $(LN_S) -f btrfs $(DESTDIR)$(bindir)/btrfsck $(INSTALL) -m755 -d $(DESTDIR)$(libdir) $(INSTALL) $(libs) $(DESTDIR)$(libdir) cp -a $(lib_links) $(DESTDIR)$(libdir)