diff options
| author | Daniel Stenberg <daniel@haxx.se> | 2006-09-26 21:17:23 +0000 |
|---|---|---|
| committer | Daniel Stenberg <daniel@haxx.se> | 2006-09-26 21:17:23 +0000 |
| commit | af401c2a4ef258146e55f1ace1e4d5e42029a790 (patch) | |
| tree | c2cae99e93c67fa0be01ce9eb10a6f276f0ef90c | |
| parent | 6dcb315c2e48eb0e54f506b08b419b232183f5bc (diff) | |
| download | rockbox-af401c2a4ef258146e55f1ace1e4d5e42029a790.zip rockbox-af401c2a4ef258146e55f1ace1e4d5e42029a790.tar.gz rockbox-af401c2a4ef258146e55f1ace1e4d5e42029a790.tar.bz2 rockbox-af401c2a4ef258146e55f1ace1e4d5e42029a790.tar.xz | |
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-x | tools/rockboxdev.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/rockboxdev.sh b/tools/rockboxdev.sh index 3e0d5ff..0d6137c 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 |