diff options
Diffstat (limited to 'taler-build/invalidate.sh')
-rwxr-xr-x | taler-build/invalidate.sh | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/taler-build/invalidate.sh b/taler-build/invalidate.sh index 144c629..db5ae13 100755 --- a/taler-build/invalidate.sh +++ b/taler-build/invalidate.sh @@ -6,18 +6,20 @@ # since there all the information is already # available. +base=${TALER_DEPLOYMENT_BASE:-$HOME} + for component in exchange merchant bank; do - cd ~/$component + cd $base/$component git fetch if git status -sb | grep behind; then - rm -f ~/deployment/taler-build/$component-stamp + rm -f $base/deployment/taler-build/$component-stamp fi done -cd ~/gnunet +cd $base/gnunet svnHead=$(svn info -r HEAD | awk '/^Revision/ {print $2}') svnBase=$(svn info -r BASE | awk '/^Revision/ {print $2}') if test $svnHead != $svnBase; then - rm -f ~/deployment/taler-build/gnunet-stamp + rm -f $base/deployment/taler-build/gnunet-stamp fi |