From f20db87957f01df50be8f4d7b94291bd311794e0 Mon Sep 17 00:00:00 2001 From: nbd Date: Mon, 26 Mar 2012 10:07:50 +0000 Subject: tools: fix stat symlink if destination already exists git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31072 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- tools/Makefile | 1 + 1 file changed, 1 insertion(+) (limited to 'tools/Makefile') diff --git a/tools/Makefile b/tools/Makefile index 48cfbbcc5..87a2940d0 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -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 \ -- cgit v1.2.3