blob: 2127f10ee49e7902e8ffc276a334a4ac7ef18872 [file] [log] [blame]
#! /bin/bash
# Wrapper script for launching the instant apps command line tool in POSIX environments
if ! command -v java >/dev/null 2>&1; then
echo "ERROR - The java command was not found."
echo "Ensure that you have installed the Java Runtime Environment, and"
echo "that its location has been added to your PATH."
exit 1
fi
scriptdir="$( cd -P -- "$(dirname -- "$(command -v -- "$0")")" && pwd -P )"
java -jar "$scriptdir/tools/ia.jar" -w "$(tput cols)" "$@"