We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 56ef6b5 commit 08d1a81Copy full SHA for 08d1a81
drupal-mode.el
@@ -360,9 +360,8 @@ of the project)."
360
drupal-drush-program)
361
(let ((root drupal-rootdir))
362
(with-temp-buffer
363
- (cd-absolute root)
364
(message "Clearing all caches...")
365
- (call-process drupal-drush-program nil nil nil "cache-clear" "all")
+ (call-process drupal-drush-program nil nil nil (concat "--root=" (expand-file-name root)) "cache-clear" "all")
366
(message "Clearing all caches...done")))
367
(message "Can't clear caches. No DRUPAL_ROOT and/or no drush command.")))
368
0 commit comments