Skip to content
Snippets Groups Projects
Commit d5234a74 authored by Felix Fietkau's avatar Felix Fietkau
Browse files

tools: fix stat symlink if destination already exists

SVN-Revision: 31072
parent bf65d4aa
No related branches found
No related tags found
No related merge requests found
......@@ -102,6 +102,7 @@ endef
endif
$(STAGING_DIR_HOST)/bin/stat: $(STAGING_DIR)/.prepared
@rm -f $@
@if stat --version > /dev/null 2>&1; then \
ln -s `which stat` $@; \
elif gstat --version > /dev/null 2>&1; then \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment