Skip to content
Snippets Groups Projects
Commit ff2cfec0 authored by Yoftahe Akalu's avatar Yoftahe Akalu Committed by Joseph Olstad
Browse files

Issue #3075551 by urvashi_vora, dev20.addweb, donquixote, VladimirAus:...

Issue #3075551 by urvashi_vora, dev20.addweb, donquixote, VladimirAus: Undefined variable $directory in drush_features_export()
parent 4fe879f3
Branches
Tags
No related merge requests found
......@@ -592,7 +592,7 @@ function drush_features_export() {
else {
// Same logic as in _drush_features_export. Should be refactored.
$destination = drush_get_option(array('destination'), variable_get('features_default_export_path', FEATURES_DEFAULT_EXPORT_PATH));
$directory = isset($directory) ? $directory : $destination . '/' . $module;
$directory = $destination . '/' . $module;
drush_print(dt('Will create a new module in !dir', array('!dir' => $directory)));
if (!drush_confirm(dt('Do you really want to continue?'))) {
drush_die('Aborting.');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment