forked from TrueCloudLab/frostfs-node
[#1056] Makefile: fix target locode-download
wget fails if .cache dir does not exist Signed-off-by: Ekaterina Lebedeva <ekaterina.lebedeva@yadro.com>
This commit is contained in:
parent
c7a12ca3d8
commit
8690db697c
1 changed files with 3 additions and 2 deletions
5
Makefile
5
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
|
||||
|
|
Loading…
Reference in a new issue