Commit dd5f76bf authored by Marco Mariani's avatar Marco Mariani

fixed variable substitution

parent 563a4d0e
......@@ -205,7 +205,7 @@ 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 "s#= FS + \"opt\" + FS + \"zimbra\"#= \"$ZIMBRA_HOME\"#g" {} \;
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