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.
This commit is contained in:
parent
ce93cc43c4
commit
8bfa7990b5
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue