Slipstream-Mod-Manager/skel_unix/modman-cli.sh
2013-08-30 15:06:09 -04:00

11 lines
213 B
Bash

#!/bin/sh
# Get the absolute path to this script's folder.
if echo "$0" | awk '{exit(!/^\//);}'; then
maindir=$(dirname "$0");
else
maindir=$PWD/$(dirname "$0");
fi
cd "${maindir}"
java -jar modman.jar "$@"