summaryrefslogtreecommitdiff
path: root/taler-build/invalidate.sh
blob: 0518a2f5ca8394a87e0a28f98290b85d0bd78bc4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/bash

set -eu
COMPONENTS="auditor deployment exchange merchant bank gnurl donations blog landing gnunet libmicrohttpd survey backoffice twister"

for component in $COMPONENTS ; do

  # Not all the setups have all the repos!
  if ! test -d $HOME/$component; then
    continue
  fi

  cd $HOME/$component
  git fetch
  if git status -sb | grep behind; then
    echo "invalidating $component"
    rm -f $HOME/stamps/$component-stamp
  fi
done