Commit 563a4d0e authored by Marco Mariani's avatar Marco Mariani

replaced a hidden /opt/zimbra in java code

parent 6f913a29
......@@ -204,7 +204,9 @@ 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}|}' {} \;
find . -name '.git' -prune -o -type f -exec sed -i "1{s|^#!/usr/bin/perl|#!${:PERL_BINARY}|}" {} \;
find . -name '.git' -prune -o -type f -exec sed -i "s#= FS + \"opt\" + FS + \"zimbra\"#= \"$ZIMBRA_HOME\"#g" {} \;
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