From babd9b6c3d7a5316ed361756a3a910efad292c75 Mon Sep 17 00:00:00 2001 From: Ari Lazier Date: Thu, 10 Nov 2016 14:29:28 -0800 Subject: [PATCH] don't unzip sync zip when not needed --- scripts/download-core.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/download-core.sh b/scripts/download-core.sh index 44d81b77..8c1d7b22 100755 --- a/scripts/download-core.sh +++ b/scripts/download-core.sh @@ -135,7 +135,7 @@ if [ -n "$SYNC_DOWNLOAD_FILE" ];then # With a prebuilt version we only want to check the first non-empty # line so that checking out an older commit will download the # appropriate version of core if the already-present version is too new - elif ! grep -m 1 . "vendor/$SYNC_DIR/version.txt" | check_release_notes; then + elif ! grep -m 1 . "vendor/$SYNC_DIR/version.txt"; then download_core $SYNC_DIR $REALM_SYNC_VERSION $SYNC_DOWNLOAD_FILE sync "$SYNC_EXTRACT" $EXTRACTED_DIR else echo "The sync library seems to be up to date."