tools: fix stat symlink if destination already exists
SVN-Revision: 31072
This commit is contained in:
parent
bf65d4aa77
commit
d5234a74b6
1 changed files with 1 additions and 0 deletions
|
@ -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 \
|
||||
|
|
Loading…
Reference in a new issue