Makefile: fix target locode-download #1056
Labels
No labels
P0
P1
P2
P3
badger
frostfs-adm
frostfs-cli
frostfs-ir
frostfs-lens
frostfs-node
good first issue
triage
Infrastructure
blocked
bug
config
discussion
documentation
duplicate
enhancement
go
help wanted
internal
invalid
kludge
observability
perfomance
question
refactoring
wontfix
No milestone
No project
No assignees
4 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: TrueCloudLab/frostfs-node#1056
Loading…
Reference in a new issue
No description provided.
Delete branch "elebedeva/frostfs-node:fix/locode-download"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
wget
in targetlocode-download
fails if.cache
dir does not exist.Added check for
.cache
presence.Signed-off-by: Ekaterina Lebedeva ekaterina.lebedeva@yadro.com
Please fix commit header.
@ -265,6 +265,9 @@ debclean:
# Download locode database
locode-download:
if [ ! -d ".cache"]; then \
mkdir
has-p
option which serves this purpose (ignore EEXIST), among others.Also, while we are here: it seems that
.cache
is actually$(TMP_DIR)
-- can we use it (see other targets, should be similar to this one).Replaced condition with
mkdir -p
and.cache
with$(TMP_DIR)
.Should I replace
.cache
with$(TMP_DIR)
in other targets as well?b4877a531b
toce8262c866
Fix Makefile target locode-downloadto Makefile: fix target locode-downloadce8262c866
to8690db697c