From af401c2a4ef258146e55f1ace1e4d5e42029a790 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 26 Sep 2006 21:17:23 +0000 Subject: 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 --- tools/rockboxdev.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tools') 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 -- cgit v1.2.3