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

set -eu
components="deployment exchange merchant bank gnurl donations blog landing gnunet libmicrohttpd survey"

if test ${1:-notgiven} = "--lint"; then
components="bank donations survey blog"
fi

for component in  $components ; do
  cd $HOME/$component
  git fetch
  if git status -sb | grep behind; then
    echo "invalidating $component"
    rm -f $HOME/deployment/taler-build/$component-stamp
  fi
done