#!/bin/sh # # Only meant to be executed from within the stage0 script set -e -x fetch() { return } unpack() { return } patch() { return } build() { return } install() { return } . $1 ( fetch || { echo "Failed to fetch $1" >> "$top/morpheus.log" exit 1 } unpack || { echo "Failed to unpack $1" >> "$top/morpheus.log" exit 1 } patch || { echo "Failed to patch $1" >> "$top/morpheus.log" exit 1 } build || { echo "Failed to build $1" >> "$top/morpheus.log" exit 1 } install || { echo "Failed to install $1" >> "$top/morpheus.log" exit 1 } )