# make Hack repository the current directory again following the build
cd"$CUR_DIR"||exit1
fi
if[ -f "$SFNTWOFF_BIN"];then
echo"Beginning web font build with $SFNTWOFF"
# determine if system installed executable on PATH is requested for build
# then test for presence of the sfnt2woff-zopfli build dependency based upon where it should be located
if["$1"="--system"];then
SFNTWOFF_BIN="sfnt2woff-zopfli"
if ! which $SFNTWOFF_BIN;then
echo"Unable to identify sfnt2woff-zopfli executable on system PATH. Please install and try again." 1>&2
exit1
else
# display version of installed sfnt2woff-zopfli
echo"Beginning web font build with $SFNTWOFF_BIN"
fi
else
echo"Unable to locate sfnt2woff-zopfli on the path $SFNTWOFF_BIN. Please attempt a manual install of this build dependency and then repeat your build attempt." 1>&2
exit1
if[ -f "$SFNTWOFF_BIN"];then
echo"Beginning web font build with $SFNTWOFF_BIN"
else
echo"Unable to locate sfnt2woff-zopfli on the path $SFNTWOFF_BIN. Please install this build dependency and then repeat your build attempt." 1>&2