X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=scripts%2Fmake-release.php;h=138584888e3086abad6dc18babfdcbe305f951ed;hb=b261a77be2a894e3fe4d00c86925bac7fb5d061c;hp=a62d2f44800145e14af3f1ed1ab3a404e6a4391d;hpb=407663fb402f0384cced2b63a2f901d19ab71d19;p=quix0rs-gnu-social.git diff --git a/scripts/make-release.php b/scripts/make-release.php old mode 100644 new mode 100755 index a62d2f4480..138584888e --- a/scripts/make-release.php +++ b/scripts/make-release.php @@ -18,16 +18,17 @@ * along with this program. If not, see . */ -# Abort if called from a web server +// Abort if called from a web server -define('INSTALLDIR', realpath(dirname(__FILE__) . '/..')); +define('INSTALLDIR', dirname(__DIR__)); +define('PUBLICDIR', INSTALLDIR . DIRECTORY_SEPARATOR . 'public'); require_once INSTALLDIR.'/scripts/commandline.inc'; $base = INSTALLDIR; $encBase = escapeshellarg($base); -$ver = STATUSNET_VERSION; +$ver = GNUSOCIAL_VERSION; // @fixme hack if (preg_match('/^(\d+)\.(\d+)\.(\d+)/', $ver, $matches)) {