Commit 6db3536e authored by Robert Lyon's avatar Robert Lyon

Adding the ssphp to the released build files

Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
parent 5ca2944e
...@@ -199,9 +199,19 @@ passthru("git tag -s ${RELEASETAG} -m \"$RELEASE release\""); ...@@ -199,9 +199,19 @@ passthru("git tag -s ${RELEASETAG} -m \"$RELEASE release\"");
# Build the css # Build the css
if ($OLDVERSION >= 2015091700) { if ($OLDVERSION >= 2015091700) {
echo "Building css...\n"; echo "Building css...\n";
passthru("make css >> ../css.log 2>&1"); passthru("make css >> ../make.log 2>&1");
if (!file_exists('htdocs/theme/raw/style/style.css')) { if (!file_exists('htdocs/theme/raw/style/style.css')) {
echo "CSS files did not build correctly! Check $BUILDDIR/css.log for details."; echo "CSS files did not build correctly! Check $BUILDDIR/make.log for details.";
exit(1);
}
}
# Build the ssphp
if ($OLDVERSION >= 2016092600) {
echo "Building ssphp...\n";
passthru("make ssphp >> ../make.log 2>&1");
if (!file_exists('htdocs/auth/saml/extlib/simplesamlphp/config/config.php')) {
echo "SimpleSAMLphp files did not build correctly! Check $BUILDDIR/make.log for details.";
exit(1); exit(1);
} }
} }
......
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