Skip to content

Commit 2cbd4a4

Browse files
committed
Makefile: fix path installation issues
- quote paths that may have spaces - force ln in case the file already exists Signed-off-by: Benoit Fouletier <[email protected]>
1 parent ca2fd07 commit 2cbd4a4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,10 @@ Documentation/html/git-filter-repo.html:
3434
git show origin/docs:html/git-filter-repo.html >Documentation/html/git-filter-repo.html
3535

3636
install: snag_docs #fixup_locale
37-
cp -a git-filter-repo $(bindir)/
38-
ln -s $(bindir)/git-filter-repo $(pythondir)/git_filter_repo.py
39-
cp -a Documentation/man1/git-filter-repo.1 $(mandir)/man1/git-filter-repo.1
40-
cp -a Documentation/html/git-filter-repo.html $(htmldir)/git-filter-repo.html
37+
cp -a git-filter-repo "$(bindir)/"
38+
ln -sf "$(bindir)/git-filter-repo" "$(pythondir)/git_filter_repo.py"
39+
cp -a Documentation/man1/git-filter-repo.1 "$(mandir)/man1/git-filter-repo.1"
40+
cp -a Documentation/html/git-filter-repo.html "$(htmldir)/git-filter-repo.html"
4141

4242

4343
#

0 commit comments

Comments
 (0)