Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: modules/adblockplus/manifests/sitescripts/repository.pp

Issue 29648555: #4667 - Switch to sitescripts directory before ensure_dependencies.py is invoked (Closed)
Patch Set: Created Dec. 25, 2017, 11:52 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: modules/adblockplus/manifests/sitescripts/repository.pp
diff --git a/modules/adblockplus/manifests/sitescripts/repository.pp b/modules/adblockplus/manifests/sitescripts/repository.pp
index 07e2c34183b905df8c32151c1f8b0ae76891edb0..58d02d48c73fa82c87076dfa825d6bdbee5c70e3 100644
--- a/modules/adblockplus/manifests/sitescripts/repository.pp
+++ b/modules/adblockplus/manifests/sitescripts/repository.pp
@@ -8,9 +8,10 @@ define adblockplus::sitescripts::repository (
'python-flup',
])
- $ensure_dependencies_command = shellquote([
- 'python', '--', "$location/ensure_dependencies.py", '-q'
- ])
+ $ensure_dependencies_command = join([
+ shellquote(['cd', $location]),
+ shellquote(['python', 'ensure_dependencies.py', '-q']),
+ ], ' && ')
$fetch_command = join([
shellquote(['hg', 'clone', $source, $location]),
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld