Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kwabena Antwi-Boasiako
slapos
Commits
fb28488d
Commit
fb28488d
authored
Apr 15, 2013
by
Marco Mariani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
faster sed calls
parent
dd5f76bf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
software/zimbra/buildout.cfg
software/zimbra/buildout.cfg
+6
-6
No files found.
software/zimbra/buildout.cfg
View file @
fb28488d
...
...
@@ -201,14 +201,14 @@ git-executable = ${git:location}/bin/git
recipe = plone.recipe.command
ZIMBRA_HOME = ${environment:ZIMBRA_HOME}
PERL_BINARY = ${perl:location}/bin/perl
stop-on-error = True
update-command = ${:command}
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" {} \;
update-command = ${:command}
stop-on-error = True
find . -name LocalConfig.java -exec sed -i 's#= FS + "opt" + FS + "zimbra"#= "${:ZIMBRA_HOME}"#g' {} \;
SUB1='s#/opt/zimbra#${:ZIMBRA_HOME}#g'
SUB2='1{s|^#!/usr/bin/perl|#!${:PERL_BINARY}|}'
find . -name '.git' -prune -o -type f -exec sed -i "$SUB1;$SUB2" {} \;
[zimbra-build]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment