summaryrefslogtreecommitdiff
path: root/distrib
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2010-10-17 12:23:52 +0000
committerIan Lynagh <igloo@earth.li>2010-10-17 12:23:52 +0000
commit7594ea1867c3dd08696a25c81aca2e2e84f7a25a (patch)
tree843c980b450cfafeb9057f48c907139ec61cd818 /distrib
parentd1fecad717e9cdf2da36147901acf0d7bbc9828c (diff)
downloadhaskell-7594ea1867c3dd08696a25c81aca2e2e84f7a25a.tar.gz
Change how the OS X installer's create-links finds the versin number
It now gets created by configure, rather than trying to work out the version number at runtime.
Diffstat (limited to 'distrib')
-rw-r--r--distrib/MacOS/installer-scripts/create-links.in (renamed from distrib/MacOS/installer-scripts/create-links)2
1 files changed, 1 insertions, 1 deletions
diff --git a/distrib/MacOS/installer-scripts/create-links b/distrib/MacOS/installer-scripts/create-links.in
index 58bed8943b..2e3dc5e376 100644
--- a/distrib/MacOS/installer-scripts/create-links
+++ b/distrib/MacOS/installer-scripts/create-links.in
@@ -20,7 +20,7 @@ if [ "$INSTALL_BASE" = / ]; then
INSTALL_BASE=/usr
fi
-ProjectVersionInt=$(readlink "$INSTALL_DEST/GHC.framework/Versions/Current")
+ProjectVersionInt=@ProjectVersionInt@
GHC_BASE="$INSTALL_DEST/GHC.framework/Versions/$ProjectVersionInt"
INSTALL_BIN="$INSTALL_BASE/bin"