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]), |