#!/bin/sh echo "Install GNUstep" echo " " cat < ./setup-${KERNEL} https://raw.githubusercontent.com/gnustep/tools-scripts/master/setup-${KERNEL} . ./setup-${KERNEL} rm ./setup-${KERNEL} else # Assume inside CI. # For CI purposes, default to failing. Using bashism is fine here, for now. set -euo pipefail . ./setup-${KERNEL} fi echo "======== Create gnustep build directories ========" if [ ! -e .git ] ; then # Default outside CI. mkdir -p gnustep cd gnustep git clone https://github.com/gnustep/tools-scripts else # Inside CI we are already in the repo. # Just go to the parent directory, tools-scripts will exist. cd .. fi ./tools-scripts/clone-essential-repos-https echo "================ Install Dependencies ================" # Install dependencies ./tools-scripts/install-dependencies-${KERNEL} echo "================ Build ================" # Build it... ./tools-scripts/build-${KERNEL} # Post installation echo "================ Post Installation ================" ./tools-scripts/post-install-${KERNEL} echo "Done..."