Revision 1111 trunk/scripts/admb/adcomp

adcomp (revision 1111)
31 31
  file=$file.cpp
32 32
fi
33 33

  
34
if [ -z "$CXX" ]; then
35
  if [ -f "$ADMB_HOME/bin/admb-cfg.sh" ]; then
36
    source "$ADMB_HOME/bin/admb-cfg.sh"
37
  else
38
    CXX=c++
39
  fi
34
if [ -f "$ADMB_HOME/bin/admb-cfg.sh" ]; then
35
  source "$ADMB_HOME/bin/admb-cfg.sh"
36
else
37
  CXX=c++
40 38
fi
41 39

  
42 40
CXXFLAGS="-c $CXXFLAGS $sym"

Also available in: Unified diff