Commit 9ad2b56f authored by ergonlogic's avatar ergonlogic Committed by Aegir user

Make D8 profile paths absolute.

parent 1cda2beb
......@@ -129,6 +129,7 @@ function _provision_find_profiles() {
$info_files = drush_scan_directory($profile_dir, "/\.info.yml$/");
foreach ($info_files as $path => $info_file) {
$path = realpath($path);
$info = Symfony\Component\Yaml\Yaml::parse($path);
if ($info['type'] == 'profile' && (!isset($info['hidden']) || !$info['hidden'])) {
$profile = new stdClass();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment