#!/bin/sh # * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * # * This source file is part of SableVM. * # * * # * See the file "LICENSE" for the copyright information and for * # * the terms and conditions for copying, distribution and * # * modification of this source file. * # * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * # This wrapper allows us to run 'fastjar' command using either our own # or system-wide fastjar before fastjar from SableVM SDK is installed. if [ -x "@FASTJAR@" ]; then FASTJAR="@FASTJAR@" else echo "Error: unable to find 'fastjar' tool. This might indicate a bug" >&2 echo "in SableVM SDK build system. Please report to http://sablevm.org/bugs" >&2 exit 1 fi exec "$FASTJAR" "$@" echo "Error: unable to execute $FASTJAR." >&2 exit 1