projects
/
mdref
/
mdref
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
| inline |
side by side
workflow/publish: update to php-8.1
[mdref/mdref]
/
bin
/
ref2stub
diff --git
a/bin/ref2stub
b/bin/ref2stub
index d2dd686feab57040318716cfeda69701457a3742..ebbbc1a2bcb7ccbc3b168d127e6e020f13b3fae0 100755
(executable)
--- a/
bin/ref2stub
+++ b/
bin/ref2stub
@@
-3,7
+3,7
@@
namespace mdref;
-require_once __DIR__."/../vendor/autoload.php";
+require_once
$_composer_autoload_path ??
__DIR__."/../vendor/autoload.php";
if ($argc < 2) {
fprintf(STDERR, "Usage: %s <ref>[ <ref> ...]\n", $argv[0]);