diff --git a/ext/ext_skel.php b/ext/ext_skel.php index b6471c8f55e..ae7a3a987c0 100755 --- a/ext/ext_skel.php +++ b/ext/ext_skel.php @@ -140,7 +140,7 @@ function print_success() { printf('%1$sSuccess. The extension is now ready to be compiled. To do so, use the%s', PHP_EOL); printf('following steps:%1$s%1$s', PHP_EOL); - printf('cd /path/to/php-src/ext/%s%s', $options['ext'], PHP_EOL); + printf('cd %s%s%s', $options['dir'], $options['ext'], PHP_EOL); printf('phpize%s', PHP_EOL); printf('%sconfigure%s', $file_prefix, PHP_EOL); printf('%smake%2$s%2$s', $make_prefix, PHP_EOL);