Browse Source

Merge pull request #4786

Maxim Biro (1):
      fix(travis): make Windows cross-compilation caching work
pull/4297/merge
sudden6 8 years ago
parent
commit
b9daf5b312
No known key found for this signature in database
GPG Key ID: 279509B499E032B9
  1. 2
      .travis/build-windows.sh

2
.travis/build-windows.sh

@ -80,7 +80,7 @@ mkdir -p workspace/"$ARCH"/dep-cache @@ -80,7 +80,7 @@ mkdir -p workspace/"$ARCH"/dep-cache
# If build.sh has changed, i.e. its hash doesn't match the previously stored one, and it's Stage 1
# Then we want to rebuild everything from scratch
if [ "`cat '$CACHE_DIR'/hash`" != "`sha256sum windows/cross-compile/build.sh`" ] && [ "$STAGE" == "stage1" ]
if [ "`cat $CACHE_DIR/hash`" != "`sha256sum windows/cross-compile/build.sh`" ] && [ "$STAGE" == "stage1" ]
then
# Clear the cache, removing all the pre-built dependencies
rm -rf "$CACHE_DIR"/*

Loading…
Cancel
Save