diff --git a/docker-build-win64.sh b/docker-build-win64.sh index c55f61fdd9f..4d59885d34c 100755 --- a/docker-build-win64.sh +++ b/docker-build-win64.sh @@ -33,7 +33,7 @@ pushd iconv iconv_ver="1.17" iconv_link="https://ftp.gnu.org/pub/gnu/libiconv/libiconv-${iconv_ver}.tar.gz" wget ${iconv_link} -O iconv.tar.gz -tar xaf iconv.tar.gz +tar --no-overwrite-dir -xaf iconv.tar.gz pushd libiconv-${iconv_ver} ./configure \ --prefix=${FF_DEPS_PREFIX} \ diff --git a/docker-build.sh b/docker-build.sh index b6b2706e8fd..4bfcba8a9ee 100755 --- a/docker-build.sh +++ b/docker-build.sh @@ -39,7 +39,7 @@ prepare_extra_common() { iconv_ver="1.17" iconv_link="https://ftp.gnu.org/pub/gnu/libiconv/libiconv-${iconv_ver}.tar.gz" wget ${iconv_link} -O iconv.tar.gz - tar xaf iconv.tar.gz + tar --no-overwrite-dir -xaf iconv.tar.gz pushd libiconv-${iconv_ver} ./configure \ ${CROSS_OPT} \