1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

Merge pull request #4786

Maxim Biro (1):
      fix(travis): make Windows cross-compilation caching work
This commit is contained in:
sudden6 2017-11-03 13:39:29 +01:00
commit b9daf5b312
No known key found for this signature in database
GPG Key ID: 279509B499E032B9

View File

@ -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"/*