diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-05-21 08:46:03 -0400 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-05-21 08:46:03 -0400 |
commit | 0897c55ff412b68b553ace31eb24f93cbbe289ab (patch) | |
tree | 475eb97800aa2ceb1a1c2ae8ab80ba5c0c79450a /pbs.in | |
parent | fbdce812a178b23210b5b7d7560fcf14cd9b11ff (diff) |
remove unused things
Diffstat (limited to 'pbs.in')
-rwxr-xr-x | pbs.in | 22 |
1 files changed, 7 insertions, 15 deletions
@@ -1,21 +1,13 @@ #!/bin/bash -if [[ -z PBS_PATH ]]; then +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-"$@" -} +export PATH="$PBS_PATH:$PATH" -main "$@" +if [[ $# < 1 ]]; then + pbs-help + return 1 +fi +pbs-"$@" |