summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-11-14 21:10:58 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2010-11-14 21:10:58 +0100
commitdd0513a1ae9fda90a4d048b98b5ac418e1ef6380 (patch)
tree62e9e8e9a7e1bc9cfbf2e824234d19a83ac326e4 /scripts
parentb4d61f0ee3485f89dd8560227c833dc948523ecf (diff)
parent3c253112ef251feb7151249e0954b7ffc93dbbdb (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'scripts')
-rw-r--r--scripts/scan-tools.sh30
1 files changed, 14 insertions, 16 deletions
diff --git a/scripts/scan-tools.sh b/scripts/scan-tools.sh
index 5dd19a645..ed939d9ca 100644
--- a/scripts/scan-tools.sh
+++ b/scripts/scan-tools.sh
@@ -21,46 +21,44 @@ rm -rf $topdir/tmp
mkdir -p $topdir/tmp
cd $topdir/tmp
+os=$(uname)
+
rm -f foo
echo >FOO
if [[ -e foo ]]; then
cat >&2 <<-EOF
ERROR: OpenADK cannot be built in a case-insensitive file system.
EOF
+ case $os in
+ CYG*)
+ echo "Building OpenADK on $os needs a small registry change."
+ echo 'http://cygwin.com/cygwin-ug-net/using-specialnames.html'
+ ;;
+ Darwin*)
+ echo "Building OpenADK on $os needs a case-sensitive disk partition."
+ echo "For Snow Leopard and above you can use diskutil to resize your existing disk."
+ echo "For older versions you might consider to use a disk image."
+ echo "Example: sudo diskutil resizeVolume disk0s2 90G 1 jhfsx adk 30G"
+ ;;
+ esac
exit 1
fi
rm -f FOO
-os=$(uname)
case $os in
Linux)
- # supported with no extra quirks at the moment
;;
FreeBSD)
- # supported with no extra quirks at the moment
;;
MirBSD)
- # supported with no extra quirks at the moment
;;
CYG*)
- echo "Building OpenADK on $os needs a small registry change."
- echo 'http://cygwin.com/cygwin-ug-net/using-specialnames.html'
- echo "You can ignore this message, when you already done the change"
- sleep 3
;;
NetBSD)
- # supported with no extra quirks at the moment
;;
OpenBSD)
- # supported with no extra quirks at the moment
- # although some packages' autoconf scripts may
- # not properly recognise OpenBSD
;;
Darwin*)
- echo "Building OpenADK on $os needs a case-sensitive disk partition."
- echo "For Snow Leopard and above you can use diskutil to resize your existing disk."
- echo "For older versions you might consider to use a disk image"
- echo "Example: sudo diskutil resizeVolume disk0s2 90G 1 jhfsx adk 30G"
;;
*)
# unsupported