]> gitweb.ps.run Git - ps-gitweb/blobdiff - Makefile
fix perl shebang
[ps-gitweb] / Makefile
index 818d2b5242702af11ccc20530b43abf437fb00e9..da3a95bb58dd76bb2f5711a4ff150d11c2676b7d 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -10,6 +10,13 @@ include shared.mak
 MAK_DIR_GITWEB = gitweb/
 include gitweb/Makefile
 
+ifndef PERL_PATH
+       PERL_PATH = /usr/bin/perl
+endif
+PERL_PATH_SQ = $(subst ','\'',$(PERL_PATH))
+
+export PERL_PATH
+
 .PHONY: gitweb
 gitweb: $(MAK_DIR_GITWEB_ALL)
 ifndef NO_GITWEB