mirror of
https://github.com/gnustep/tools-make.git
synced 2025-04-24 06:39:47 +00:00
Detect newer versions of darwin, and future ones as well
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@26400 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
65930c622e
commit
da605ce097
2 changed files with 19 additions and 6 deletions
|
@ -1,3 +1,9 @@
|
|||
2008-03-30 Nicola Pero <nicola.pero@meta-innovation.com>
|
||||
|
||||
* clean_os.sh: Support new versions of Darwin, and future ones as
|
||||
well. Patch by Blake Nicholson <blaken@umich.edu> with a few
|
||||
changes.
|
||||
|
||||
2008-03-14 Nicola Pero <nicola.pero@meta-innovation.com>
|
||||
|
||||
* Documentation/README.MinGW: Fixed subversion URL to get libobjc
|
||||
|
|
19
clean_os.sh
19
clean_os.sh
|
@ -32,16 +32,23 @@ case "$1" in
|
|||
exit 0
|
||||
;;
|
||||
# Remove version number for Darwin
|
||||
# Versions currently most common have a quick hardcoded lookup
|
||||
darwin9*)
|
||||
echo darwin9
|
||||
exit 0
|
||||
;;
|
||||
darwin8*)
|
||||
echo darwin8
|
||||
exit 0
|
||||
;;
|
||||
darwin7*)
|
||||
echo darwin7
|
||||
exit 0
|
||||
;;
|
||||
darwin6*)
|
||||
echo darwin6
|
||||
exit 0
|
||||
;;
|
||||
darwin5*)
|
||||
echo darwin5
|
||||
# Any other Darwin version falls here, where we use a slower sed
|
||||
# subprocess to remove everything but the first major number.
|
||||
darwin*)
|
||||
echo `echo "$1" | sed s/\\\\..*//`
|
||||
exit 0
|
||||
;;
|
||||
*)
|
||||
|
|
Loading…
Reference in a new issue