Skip to content

Commit 64c2ac9

Browse files
committed
Fix deps path recognition
1 parent 79116d5 commit 64c2ac9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/php/libsdk/SDK/Config.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -301,8 +301,8 @@ public static function getDepsLocalPath() : ?string
301301
$s = file_get_contents("Makefile");
302302

303303
if (preg_match(",PHP_BUILD=(.+),", $s, $m)) {
304-
if (isset($m[1]) && is_dir($m[1])) {
305-
self::setDepsLocalPath($m[1]);
304+
if (isset($m[1])) {
305+
self::setDepsLocalPath(trim($m[1]));
306306
}
307307
}
308308
}

0 commit comments

Comments
 (0)