projects
/
platform
/
upstream
/
build.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5ef8f7e
)
fix build root owner check
author
Ludwig Nussel
<ludwig.nussel@suse.de>
Mon, 23 Jun 2008 13:32:57 +0000
(13:32 +0000)
committer
Ludwig Nussel
<ludwig.nussel@suse.de>
Mon, 23 Jun 2008 13:32:57 +0000
(13:32 +0000)
build
patch
|
blob
|
history
diff --git
a/build
b/build
index
3e9be2b
..
e3a9b97
100755
(executable)
--- a/
build
+++ b/
build
@@
-448,7
+448,7
@@
mkdir_build_root()
{
if [ -d "$BUILD_ROOT" ]; then
# check if it is owned by root
- if [ -z "$RUNNING_IN_XEN" -a \
( \! -O "$BUILD_ROOT" -o \! "`stat -c %u $BUILD_ROOT`" -eq
0 ]; then
+ if [ -z "$RUNNING_IN_XEN" -a \
! -O "$BUILD_ROOT" -a "`stat -c %u $BUILD_ROOT`" -ne
0 ]; then
echo "BUILD_ROOT=$BUILD_ROOT must be owned by $USER. Exit..."
cleanup_and_exit 1
fi