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:
Daniel Stenberg 2006-09-26 21:17:23 +00:00
parent 6dcb315c2e
commit af401c2a4e

View file

@ -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