twister

HTTP fault injector for testing
Log | Files | Refs | Submodules | README | LICENSE

bootstrap (622B)


      1 #!/bin/sh
      2 # This file is in the public domain.
      3 
      4 set -eu
      5 
      6 if [ -d .git ]; then
      7   if ! git --version >/dev/null; then
      8     echo "git not installed"
      9     exit 1
     10   fi
     11 
     12   # Make sure that "git pull" et al. also update
     13   # submodules to avoid accidental rollbacks.
     14   git config --local submodule.recurse true
     15 
     16   # Beware: We only want to update submodules to the commit hash
     17   # stored in git, otherwise builds based on tags will not be
     18   # reproducible.  doc/prebuilt carries the manual pages built from
     19   # the taler-docs sources.
     20   echo "$0: Updating submodules"
     21   echo | git submodule update --init --force
     22 fi
     23 
     24 autoreconf -if