Commit c25a8135 authored by Marco Mariani's avatar Marco Mariani

patch perl shebang

parent 16b0e4a4
......@@ -195,9 +195,11 @@ git-executable = ${git:location}/bin/git
# replace all remaining occurrences of /opt/zimbra
recipe = plone.recipe.command
ZIMBRA_HOME = ${environment:ZIMBRA_HOME}
PERL_BINARY = ${perl:location}/bin/perl
command =
cd ${zimbra-sources:location}
find . -name '.git' -prune -o -type f -exec sed -i "s#/opt/zimbra#${:ZIMBRA_HOME}#g" {} \;
find . -name '.git' -prune -o -type f -exec sed -i '1{s|^#!/usr/bin/perl|#!${:PERL_BINARY}|}' {} \;
update-command = ${:command}
stop-on-error = True
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment