1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2024-12-01 19:22:41 +01:00
phorge-arcanist/bin/arc

16 lines
404 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 $@