summaryrefslogtreecommitdiff
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
parent6dcb315c2e48eb0e54f506b08b419b232183f5bc (diff)
downloadrockbox-af401c2a4ef258146e55f1ace1e4d5e42029a790.tar.gz
rockbox-af401c2a4ef258146e55f1ace1e4d5e42029a790.zip
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
-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)"
84# be able to install there! 84# be able to install there!
85if test ! -w $prefix; then 85if test ! -w $prefix; then
86 echo "WARNING: this script is set to install in $prefix but has no" 86 echo "WARNING: this script is set to install in $prefix but has no"
87 echo "WARNING: write permission to do so!" 87 echo "WARNING: write permission to do so! Please fix and re-run this script"
88 exit
88fi 89fi
89 90
90 91