diff options
-rwxr-xr-x | scripts/oe-setup-builddir | 5 |
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 | |||
24 | fi | 24 | fi |
25 | 25 | ||
26 | mkdir -p "$BUILDDIR/conf" | 26 | mkdir -p "$BUILDDIR/conf" |
27 | chmod -R -st "$BUILDDIR" | 27 | |
28 | # Attempting to remove sticky and setuid bits from BUILDDIR and | ||
29 | # BUILDDIR/conf directories. #TODO appropriate checks for this | ||
30 | chmod -st "$BUILDDIR" "$BUILDDIR/conf" | ||
28 | 31 | ||
29 | if [ ! -d "$BUILDDIR" ]; then | 32 | if [ ! -d "$BUILDDIR" ]; then |
30 | echo >&2 "Error: The builddir ($BUILDDIR) does not exist!" | 33 | echo >&2 "Error: The builddir ($BUILDDIR) does not exist!" |