summaryrefslogtreecommitdiff
path: root/tools/make-package-macosx
diff options
context:
space:
mode:
authorAlain Frisch <alain@frisch.fr>2007-05-23 16:40:58 +0000
committerAlain Frisch <alain@frisch.fr>2007-05-23 16:40:58 +0000
commit170fde001c4a6a3370e122c3d521dce28fc930ce (patch)
tree984c5f0472232ed39a9b7336a3bb4a44d44b6816 /tools/make-package-macosx
parent081659e7f9340550af87963dd5a245539e7d067a (diff)
downloadocaml-170fde001c4a6a3370e122c3d521dce28fc930ce.tar.gz
Merge changes from ocaml3093 to ocaml3100
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/cducetrunk@8262 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'tools/make-package-macosx')
-rwxr-xr-xtools/make-package-macosx10
1 files changed, 4 insertions, 6 deletions
diff --git a/tools/make-package-macosx b/tools/make-package-macosx
index 7dd79175a2..1839c52c61 100755
--- a/tools/make-package-macosx
+++ b/tools/make-package-macosx
@@ -17,11 +17,9 @@
cd package-macosx
rm -rf ocaml.pkg ocaml-rw.dmg
-VERSION=`sed -n -e '/ocaml_version/s/.*"\([^"]*\)".*/\1/p' ../stdlib/sys.ml`
-VERSION_MAJOR=`sed -n -e '/ocaml_version/s/.*"\([0-9]*\)\..*/\1/p' \
- ../stdlib/sys.ml`
-VERSION_MINOR=`sed -n -e '/ocaml_version/s/.*"[0-9]*\.\([0-9]*\)[.+].*/\1/p' \
- ../stdlib/sys.ml`
+VERSION=`head -1 ../VERSION`
+VERSION_MAJOR=`sed -n -e '1s/^\([0-9]*\)\..*/\1/p' ../VERSION
+VERSION_MINOR=`sed -n -e '1s/^[0-9]*\.\([0-9]*\)[.+].*/\1/p' ../VERSION
# Worked in 10.2:
@@ -104,7 +102,7 @@ mkdir -p resources
cat >resources/ReadMe.txt <<EOF
This package installs Objective Caml version ${VERSION}.
You need Mac OS X 10.4.x (Tiger), with X11 and the
-XCode tools (v2.2) installed.
+XCode tools (v2.4) installed.
Files will be installed in the following directories: