From 8bfa7990b54bc5191818e71786d895de9d725677 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 5 Aug 2020 11:58:22 -0400 Subject: [PATCH] make symlinks not hardlinks hardlinks happened to work because it was a hard link to a symlink, but it would have failed if eg git-annex-shell symlink did not exist, perhaps because the Makefile was not run to build it. Or something like that. Also, it seems like it worked by accident and the Makefile used to ln -s. --- Build/Standalone.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Build/Standalone.hs b/Build/Standalone.hs index cfc47b610a..e4a3aa8663 100644 --- a/Build/Standalone.hs +++ b/Build/Standalone.hs @@ -211,8 +211,8 @@ installGitAnnex topdir = go (topdir "bin") error "cp failed" unlessM (boolSystem "strip" [File (bindir "git-annex")]) $ error "strip failed" - createLink "git-annex" (bindir "git-annex-shell") - createLink "git-annex" (bindir "git-remote-tor-annex") + createSymbolicLink "git-annex" (bindir "git-annex-shell") + createSymbolicLink "git-annex" (bindir "git-remote-tor-annex") main :: IO () main = getArgs >>= go -- 2.30.2