Commit 7fa52acd authored by Iustin Pop's avatar Iustin Pop
Browse files

htools: change absolute to relative symlinks

Currently we use absolute symlinks, but this doesn't work when we
install remotely (due to install first to local temp dir, then rsync
to remote machines). To fix, we change to manually-computed relative
paths, which is not best, but it works.

One possible alternative would be to use hard-links…
Signed-off-by: default avatarIustin Pop <>
Reviewed-by: default avatarMichael Hanselmann <>
parent dfc8824a
......@@ -457,10 +457,11 @@ if WANT_HTOOLS
bin_SCRIPTS += $(filter-out htools/hail,$(HS_PROGS))
@mkdir_p@ $(DESTDIR)$(iallocatorsdir)
$(LN_S) -f $(DESTDIR)$(bindir)/htools \
# FIXME: this is a hardcoded logic, instead of auto-resolving
$(LN_S) -f ../../../bin/htools \
for role in $(HS_BIN_ROLES); do \
$(LN_S) -f $(DESTDIR)$(bindir)/htools \
$(LN_S) -f htools \
$(DESTDIR)$(bindir)/$$role ; \
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment