#!/bin/bash
################################################################################
# Licensed Materials - Property of IBM
# (c) Copyright IBM Corporation 2013. All Rights Reserved.
# 
# Note to U.S. Government Users Restricted Rights:
# Use, duplication or disclosure restricted by GSA ADP Schedule
# Contract with IBM Corp. 
################################################################################

# Get the directory of this script
_script_dir=$(dirname "$BASH_SOURCE")
_script=$(basename "$BASH_SOURCE")
pushd . > /dev/null
cd $_script_dir > /dev/null
while [ -h "$_script" ] ; do
  _script_dir=$(readlink "${_script}")
  cd $(dirname $_script_dir)
  _script=$(basename $_script_dir)
done
_script_dir=$(pwd)
popd > /dev/null

# Run the command
java -jar $_script_dir/ramcli.jar "$@"
