summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2022-02-12 17:38:59 +0100
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2022-02-12 17:38:59 +0100
commit19c9a36584217dfb20b071cb9c6f68cba6c9d0ad (patch)
tree732cf46b7c55092d6206a2f37add18090fbd1563
parenta697e8cf3bc6af98de735115177fd5b54462b3e7 (diff)
fix: add missing colon in sed line
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 6a7eb11..800b5ee 100644
--- a/Makefile
+++ b/Makefile
@@ -10,7 +10,7 @@ install:
chmod 755 $(DESTDIR)$(PREFIX)/bin/stagit-gen-index $(DESTDIR)$(PREFIX)/bin/stagit-new-repo
cp hooks/post-receive $(DESTDIR)$(PREFIX)/share/
if [ "$(PREFIX)" ]; then \
- sed -iba 's:/usr/local:$(PREFIX)' $(DESTDIR)$(PREFIX)/bin/stagit-new-repo; \
+ sed -iba 's:/usr/local:$(PREFIX):' $(DESTDIR)$(PREFIX)/bin/stagit-new-repo; \
rm -f $(DESTDIR)$(PREFIX)/bin/stagit-new-repoba; \
fi