summaryrefslogtreecommitdiff
path: root/tools/rockboxdev.sh
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2006-09-26 21:17:23 +0000
committerDaniel Stenberg <daniel@haxx.se>2006-09-26 21:17:23 +0000
commitaf401c2a4ef258146e55f1ace1e4d5e42029a790 (patch)
treec2cae99e93c67fa0be01ce9eb10a6f276f0ef90c /tools/rockboxdev.sh
parent6dcb315c2e48eb0e54f506b08b419b232183f5bc (diff)
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
Diffstat (limited to 'tools/rockboxdev.sh')
-rwxr-xr-xtools/rockboxdev.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/rockboxdev.sh b/tools/rockboxdev.sh
index 3e0d5ffbc5..0d6137c702 100755
--- a/tools/rockboxdev.sh
+++ b/tools/rockboxdev.sh
@@ -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