summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-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