Skip to content

Commit

Permalink
remove DESTDIR from symlink target path
Browse files Browse the repository at this point in the history
The symlink target should not contain DESTDIR.

Fixes <805d2dd0bec> ln does not require -r as absolute path names are given

Signed-off-by: Sertonix <[email protected]>
Signed-off-by: Stephan Mueller <[email protected]>
  • Loading branch information
sertonix authored and smuellerDD committed Oct 8, 2024
1 parent bbc8b33 commit 5d3728e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ CHECK_DIR_BIN = $(if $(CHECK_DIR),$(CHECK_DIR)/hmaccalc,$(bindir))

install-exec-hook:
$(MKDIR_P) -p $(DESTDIR)/$(pkglibexecdir)
$(foreach link, $(hasher_links), $(LN) -sf $(DESTDIR)/$(bindir)/kcapi-hasher $(DESTDIR)/$(pkglibexecdir)/$(link);)
$(foreach link, $(hasher_links), $(LN) -sf $(bindir)/kcapi-hasher $(DESTDIR)/$(pkglibexecdir)/$(link);)
if HAVE_OPENSSL
$(MKDIR_P) $(DESTDIR)$(CHECK_DIR_BIN)
cd $(DESTDIR)$(bindir) && $(CHECKSUM_CMD) kcapi-hasher > $(DESTDIR)$(CHECK_DIR_BIN)/$(CHECK_PREFIX)kcapi-hasher.$(CHECK_SUFFIX)
Expand Down

0 comments on commit 5d3728e

Please sign in to comment.