#!/bin/bash
if [[ -z PBS_PATH ]]; then
export PBS_PATH=@pbs-bindir@
fi
if [[ -z "$pbs_cmd" ]]; then
export pbs_cmd=$0
export pbs_short=${pbs_cmd##*/}
export PATH="$PBS_PATH:$PATH"
fi
main() {
if [[ $# < 1 ]]; then
pbs-help
return 1
fi
pbs-"$@"
}
main "$@"