Statistics
| Revision:

root / trunk / scripts / admb / root-admb @ 1413

History | View | Annotate | Download (380 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.sh" ]; then
9
  declare -rx ADMB_HOME="$SCRIPT_DIR/build/dist"
10
  $ADMB_HOME/bin/admb.sh $*
11
else
12
  if [ -f "$SCRIPT_DIR/bin/admb.sh" ]; then
13
    declare -rx ADMB_HOME="$SCRIPT_DIR"
14
    $ADMB_HOME/bin/admb.sh $*
15
  fi
16
fi
17

    
18
exit 0