1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2024-12-23 05:50:54 +01:00
phorge-arcanist/bin/arc

16 lines
406 B
Text
Raw Normal View History

#!/bin/bash
# NOTE: This file is a wrapper script instead of a symlink so it will work in
# the Git Bash environment in Windows.
# Do bash magic to resolve the real location of this script through aliases,
# symlinks, etc.
SOURCE="${BASH_SOURCE[0]}";
while [ -h "$SOURCE" ]; do
SOURCE="$(readlink "$SOURCE")";
done;
DIR="$(cd -P "$(dirname "$SOURCE")" && pwd)"
exec $DIR/../scripts/arcanist.php "$@"