Commit 1edf7861 authored by Johan Cwiklinski's avatar Johan Cwiklinski

Fix apigen script

parent 52420703
......@@ -35,7 +35,8 @@ cd $(dirname $0)
if which apigen &>/dev/null
then
version=$(php -r '
require __DIR__ . "/../inc/define.php";
define("GLPI_ROOT", __DIR__ . "/..");
require GLPI_ROOT . "/inc/define.php";
echo GLPI_VERSION;
')
apigen generate \
......
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