From a4dc14dba4f13027684e456b6a21326dfc1bc3c5 Mon Sep 17 00:00:00 2001 From: Alexey Neyman Date: Sat, 1 Dec 2018 14:16:39 -0800 Subject: Consider it success if DoForceRmdir removes only the content Fixes #929. Signed-off-by: Alexey Neyman --- scripts/crosstool-NG.sh | 5 ----- 1 file changed, 5 deletions(-) (limited to 'scripts/crosstool-NG.sh') diff --git a/scripts/crosstool-NG.sh b/scripts/crosstool-NG.sh index b60976cf..3e888d74 100644 --- a/scripts/crosstool-NG.sh +++ b/scripts/crosstool-NG.sh @@ -253,11 +253,6 @@ if [ "${CT_SAVE_TARBALLS}" = "y" \ CT_SAVE_TARBALLS= fi -# Check now if we can write to the destination directory: -if [ -d "${CT_PREFIX_DIR}" ]; then - CT_TestAndAbort "Destination directory '${CT_PREFIX_DIR}' is not removable" ! -w $(dirname "${CT_PREFIX_DIR}") -fi - # Good, now grab a bit of informations on the system we're being run on, # just in case something goes awok, and it's not our fault: CT_SYS_USER=$(id -un) -- cgit v1.2.3