summaryrefslogtreecommitdiffstats
path: root/scripts/oe-setup-builddir
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/oe-setup-builddir')
-rwxr-xr-xscripts/oe-setup-builddir5
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/oe-setup-builddir b/scripts/oe-setup-builddir
index f5b7e4e2d0..25d9f134a1 100755
--- a/scripts/oe-setup-builddir
+++ b/scripts/oe-setup-builddir
@@ -24,7 +24,10 @@ if [ -z "$BUILDDIR" ]; then
24fi 24fi
25 25
26mkdir -p "$BUILDDIR/conf" 26mkdir -p "$BUILDDIR/conf"
27chmod -R -st "$BUILDDIR" 27
28# Attempting to remove sticky and setuid bits from BUILDDIR and
29# BUILDDIR/conf directories. #TODO appropriate checks for this
30chmod -st "$BUILDDIR" "$BUILDDIR/conf"
28 31
29if [ ! -d "$BUILDDIR" ]; then 32if [ ! -d "$BUILDDIR" ]; then
30 echo >&2 "Error: The builddir ($BUILDDIR) does not exist!" 33 echo >&2 "Error: The builddir ($BUILDDIR) does not exist!"