diff options
author | https://www.google.com/accounts/o8/id?id=AItOawlGzzISNi9sKsbbqyRjCZEecyypgaFV56U <Nikolay@web> | 2014-10-19 12:04:02 -0400 |
---|---|---|
committer | admin <admin@branchable.com> | 2014-10-19 12:04:02 -0400 |
commit | 1cfaacbfb5d34983655efd251566403fd8d8f45c (patch) | |
tree | e3380f84afbcf8b606737d1803ad7c16b4b8f2b1 /doc/bugs | |
parent | b9558ad3aa4f37b176cee24d74f43c8b12b02cfd (diff) | |
download | ikiwiki-1cfaacbfb5d34983655efd251566403fd8d8f45c.tar ikiwiki-1cfaacbfb5d34983655efd251566403fd8d8f45c.tar.gz |
[patch], patch
Diffstat (limited to 'doc/bugs')
-rw-r--r-- | doc/bugs/double_shebang_replacement___47__usr__47__bin__47__perl5.185.18.mdwn | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/doc/bugs/double_shebang_replacement___47__usr__47__bin__47__perl5.185.18.mdwn b/doc/bugs/double_shebang_replacement___47__usr__47__bin__47__perl5.185.18.mdwn new file mode 100644 index 000000000..6c7039d69 --- /dev/null +++ b/doc/bugs/double_shebang_replacement___47__usr__47__bin__47__perl5.185.18.mdwn @@ -0,0 +1,39 @@ +Please consider this [patch] for merging in. +[[!format diff """ +From e697ba4ef7952ce549d449c4e4daea2e3f0a1aa7 Mon Sep 17 00:00:00 2001 +From: Nikolay Orlyuk <virkony@gmail.com> +Date: Sun, 19 Oct 2014 18:46:34 +0300 +Subject: [PATCH] fix shebang paths manipulations + +Small enhancements for 67e778f4 to avoid erroneous she-bangs +"/usr/bin/perl5.185.18" (version suffix added twice). +--- + Makefile.PL | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/Makefile.PL b/Makefile.PL +index 61fe336..2d54658 100755 +--- a/Makefile.PL ++++ b/Makefile.PL +@@ -63,7 +63,7 @@ docwiki: + perl_shebangs: + ifneq "$(PERL)" "/usr/bin/perl" + for file in $(shebang_scripts); do \ +- $(SED) -e "1s|^#!/usr/bin/perl|#!$(PERL)|" < $$file > "$$file.new"; \ ++ $(SED) -e "1s|^#!/usr/bin/perl\>|#!$(PERL)|" < $$file > "$$file.new"; \ + [ -x $$file ] && chmod +x "$$file.new"; \ + mv -f "$$file.new" $$file; \ + done +@@ -72,7 +72,7 @@ endif + perl_shebangs_clean: + ifneq "$(PERL)" "/usr/bin/perl" + for file in $(shebang_scripts); do \ +- $(SED) -e "1s|^#!$(PERL)|#!/usr/bin/perl|" < $$file > "$$file.new"; \ ++ $(SED) -e "1s|^#!$(PERL)\>|#!/usr/bin/perl|" < $$file > "$$file.new"; \ + [ -x $$file ] && chmod +x "$$file.new"; \ + mv -f "$$file.new" $$file; \ + done +-- +2.1.2 +"""]] + |