Statistics
| Revision:

root / trunk / scripts / admb / root-admb @ 1323

History | View | Annotate | Download (307 Bytes)

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

    
7
if [ -f "$PWD/build/dist/bin/admb" ]; then
8
  declare -rx ADMB_HOME="$PWD/build/dist"
9
  $(ADMB_HOME)/bin/admb $*
10
else
11
  if [ -f "$PWD/bin/admb" ]; then
12
    declare -rx ADMB_HOME="$PWD"
13
    $(ADMB_HOME)/bin/admb $*
14
  fi
15
fi
16

    
17
exit 0