From 8690db697c40926e3e77601fde5977caa4f03b2e Mon Sep 17 00:00:00 2001 From: Ekaterina Lebedeva Date: Tue, 26 Mar 2024 14:07:25 +0300 Subject: [PATCH] [#1056] Makefile: fix target locode-download wget fails if .cache dir does not exist Signed-off-by: Ekaterina Lebedeva --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 4d3c121bf..20c84d041 100755 --- a/Makefile +++ b/Makefile @@ -265,8 +265,9 @@ debclean: # Download locode database locode-download: - @wget -q -O ./.cache/locode_db.gz 'https://git.frostfs.info/TrueCloudLab/frostfs-locode-db/releases/download/${LOCODE_DB_VERSION}/locode_db.gz' - gzip -dfk ./.cache/locode_db.gz + mkdir -p $(TMP_DIR) + @wget -q -O ./$(TMP_DIR)/locode_db.gz 'https://git.frostfs.info/TrueCloudLab/frostfs-locode-db/releases/download/${LOCODE_DB_VERSION}/locode_db.gz' + gzip -dfk ./$(TMP_DIR)/locode_db.gz # Start dev environment env-up: all