Statistics
| Revision:

root / trunk / scripts / admb / root-admb @ 1322

History | View | Annotate | Download (273 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
else
10
  if [ -f "$PWD/bin/admb" ]; then
11
    declare -rx ADMB_HOME="$PWD"
12
  fi
13
fi
14

    
15
$(ADMB_HOME)/admb $*
16

    
17
exit 0