Statistics
| Revision:

root / trunk / scripts / admb / root-admb @ 1325

History | View | Annotate | Download (368 Bytes)

1
#!/bin/bash
2
#
3
# Copyright (c) 2013 ADMB Foundation
4
#
5
shopt -s expand_aliases
6

    
7
SCRIPT_DIR=$(cd `dirname $0` && pwd)
8
if [ -f "$SCRIPT_DIR/build/dist/bin/admb" ]; then
9
  declare -rx ADMB_HOME="$SCRIPT_DIR/build/dist"
10
  $ADMB_HOME/bin/admb $*
11
else
12
  if [ -f "$SCRIPT_DIR/bin/admb" ]; then
13
    declare -rx ADMB_HOME="$SCRIPT_DIR"
14
    $ADMB_HOME/bin/admb $*
15
  fi
16
fi
17

    
18
exit 0