diff options
Diffstat (limited to 'pbs.in')
-rwxr-xr-x | pbs.in | 21 |
1 files changed, 21 insertions, 0 deletions
@@ -0,0 +1,21 @@ +#!/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 "$@" |