Changeset 385


Ignore:
Timestamp:
Jun 21, 2007 11:51:49 PM (13 years ago)
Author:
andreasw
Message:

making sure (hopefully this time completely) that run_autotools quits if there is an error

File:
1 edited

Legend:

Unmodified
Added
Removed
  • releases/0.5.9/run_autotools

    r383 r385  
    2828  echo You are not using the correct version of autoconf
    2929  rm -f confauto.out
    30   exit
     30  exit -2
    3131fi
    3232rm -f confauto.out
     
    3535if test $autoconf_dir = `cd $AUTOTOOLS_DIR/bin; pwd`; then :; else
    3636  echo autoconf is not picked up from the correct location
    37   exit
     37  exit -2
    3838fi
    3939
     
    4343  echo You are not using the correct version of automake
    4444  rm -f confauto.out
    45   exit
     45  exit -2
    4646fi
    4747rm -f confauto.out
     
    5050if test $autoconf_dir = `cd $AUTOTOOLS_DIR/bin; pwd`; then :; else
    5151  echo automake is not picked up from the correct location
    52   exit
     52  exit -2
    5353fi
    5454
     
    111111else
    112112  echo Cannot find BuildTools directory.
    113   exit
     113  exit -2
    114114fi
    115115
     
    144144   fi
    145145   )
     146   if test $? != 0; then
     147     exit -1
     148   fi
    146149done
Note: See TracChangeset for help on using the changeset viewer.