summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f44bc33)
raw | patch | inline | side by side (parent: f44bc33)
author | Brandon Casey <casey@nrlssc.navy.mil> | |
Tue, 5 Aug 2008 23:23:08 +0000 (18:23 -0500) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 6 Aug 2008 21:00:36 +0000 (14:00 -0700) |
Use double quotes to protect against paths which may contain spaces.
Signed-off-by: Brandon Casey <casey@nrlssc.navy.mil>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Brandon Casey <casey@nrlssc.navy.mil>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
perl/Makefile | patch | blob | history |
diff --git a/perl/Makefile b/perl/Makefile
index b8547db2c64ac1242725b5f71fb646b5bca38ef3..e3dd1a5547c471208c445d77263ee46e64b37451 100644 (file)
--- a/perl/Makefile
+++ b/perl/Makefile
'$(PERL_PATH_SQ)' -MError -e 'exit($$Error::VERSION < 0.15009)' || \
echo ' cp private-Error.pm blib/lib/Error.pm' >> $@
echo install: >> $@
- echo ' mkdir -p $(instdir_SQ)' >> $@
- echo ' $(RM) $(instdir_SQ)/Git.pm; cp Git.pm $(instdir_SQ)' >> $@
- echo ' $(RM) $(instdir_SQ)/Error.pm' >> $@
+ echo ' mkdir -p "$(instdir_SQ)"' >> $@
+ echo ' $(RM) "$(instdir_SQ)/Git.pm"; cp Git.pm "$(instdir_SQ)"' >> $@
+ echo ' $(RM) "$(instdir_SQ)/Error.pm"' >> $@
'$(PERL_PATH_SQ)' -MError -e 'exit($$Error::VERSION < 0.15009)' || \
- echo ' cp private-Error.pm $(instdir_SQ)/Error.pm' >> $@
+ echo ' cp private-Error.pm "$(instdir_SQ)/Error.pm"' >> $@
echo instlibdir: >> $@
echo ' echo $(instdir_SQ)' >> $@
else