summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJon Pugh2017-09-28 09:27:49 -0400
committerJon Pugh2017-09-28 09:27:49 -0400
commit7cd236a085b081b77651529b291c5d14a92ae9ad (patch)
tree098ea4ae0239ec6c20a04f2e03ecff5d56f29433
parent8069b550f0a90b161310a6c6ee314cfe499587b2 (diff)
If using working-copy option in hostmaster-install, also set no-gitinfofile to avoid rewriting .info files after git clone.
-rw-r--r--install.hostmaster.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/install.hostmaster.inc b/install.hostmaster.inc
index 0ecd395..df1f142 100644
--- a/install.hostmaster.inc
+++ b/install.hostmaster.inc
@@ -238,6 +238,9 @@ function drush_provision_hostmaster_install($site = NULL) {
$options = array();
if (drush_get_option('working-copy')) {
$options['working-copy'] = 1;
+
+ # Don't rewrite module info files if using working-copy.
+ $options['no-gitinfofile'] = 1;
}
provision_backend_invoke($platform_name, 'provision-verify', array(), $options);