die if the effective user doesn't have write permission in the install base dir
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11074 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
6dcb315c2e
commit
af401c2a4e
1 changed files with 2 additions and 1 deletions
|
@ -84,7 +84,8 @@ echo "Build dir: $builddir (edit script to change dir)"
|
|||
# be able to install there!
|
||||
if test ! -w $prefix; then
|
||||
echo "WARNING: this script is set to install in $prefix but has no"
|
||||
echo "WARNING: write permission to do so!"
|
||||
echo "WARNING: write permission to do so! Please fix and re-run this script"
|
||||
exit
|
||||
fi
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue