#!/bin/sh
if [ -z "$SYSROOT" ]; then
echo '$SYSROOT is not set!'
exit 2
fi
if ! [ -d "$SYSROOT" ]; then
echo '$SYSROOT does not exist!'
mkdir -p "$SYSROOT"/tmp || exit 2
chmod 0775 "$SYSROOT"/tmp || exit 2
if [ -f /vendor.sh ]; then
/vendor.sh