aboutsummaryrefslogtreecommitdiff
path: root/scripts/crosstool-NG.sh
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2018-12-01 14:16:39 -0800
committerAlexey Neyman <stilor@att.net>2018-12-01 14:44:08 -0800
commita4dc14dba4f13027684e456b6a21326dfc1bc3c5 (patch)
tree42a3c4ba9c15122edbd56fd30ca431af4b5c8fe6 /scripts/crosstool-NG.sh
parentdc681ec8eb53eccdd18521853abaf0574d6ae75f (diff)
downloadcrosstool-ng-a4dc14dba4f13027684e456b6a21326dfc1bc3c5.tar.gz
crosstool-ng-a4dc14dba4f13027684e456b6a21326dfc1bc3c5.tar.bz2
crosstool-ng-a4dc14dba4f13027684e456b6a21326dfc1bc3c5.zip
Consider it success if DoForceRmdir removes only the content
Fixes #929. Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'scripts/crosstool-NG.sh')
-rw-r--r--scripts/crosstool-NG.sh5
1 files changed, 0 insertions, 5 deletions
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)