blob: c2c5ae1316fc0b7d3dc67903c9bead6a1dde9e3f [file] [log] [blame]
#!/bin/sh
# Resolve symlinks if necessary, otherwise madness will follow.
# On a GNU system, we could use "-f" to follow all symlinks. BSD based
# systems don't have this flag. *sigh*
BUCK_PATH="$0"
while [ -h "$BUCK_PATH" ]; do
BUCK_PATH=$(readlink "$BUCK_PATH")
done
BUCK_DIR=$(dirname "$BUCK_PATH")
exec python "$BUCK_DIR"/../programs/buckd.py "$@"