summaryrefslogtreecommitdiff
path: root/distrib
diff options
context:
space:
mode:
authorsof <unknown>2005-05-03 00:42:28 +0000
committersof <unknown>2005-05-03 00:42:28 +0000
commite793f8bf9331341e3d1ab9fcd7b6000c8cfaaa16 (patch)
treebdefe7d9211f72c5727fa17bcbe2f849fb8ab4eb /distrib
parent5be7229f5f6ea5d1e0a96d39536cb85996ced3b3 (diff)
downloadhaskell-e793f8bf9331341e3d1ab9fcd7b6000c8cfaaa16.tar.gz
[project @ 2005-05-03 00:42:28 by sof]
permit mingw_* vars to be overridden; merge to STABLE
Diffstat (limited to 'distrib')
-rw-r--r--distrib/prep-bin-dist-mingw16
1 files changed, 12 insertions, 4 deletions
diff --git a/distrib/prep-bin-dist-mingw b/distrib/prep-bin-dist-mingw
index 4d462a42ad..042805a5be 100644
--- a/distrib/prep-bin-dist-mingw
+++ b/distrib/prep-bin-dist-mingw
@@ -44,15 +44,23 @@ else
fi
#Directory where a (cygwin-free) perl binary resides.
-export perl_dir=$old_ghc_top
+if [ "x${perl_dir}" == "x" ]; then
+ export perl_dir=$old_ghc_top
+fi
#
# The mingw include, lib, and bin directories; all derived
# from ${mingw_top}.
#
-export mingw_include=$mingw_top/include
-export mingw_lib=$mingw_top/lib
-export mingw_bin=$mingw_top/bin
+if [ "x${mingw_include}" == "x" ]; then
+ export mingw_include=$mingw_top/include
+fi
+if [ "x${mingw_lib}" == "x" ]; then
+ export mingw_lib=$mingw_top/lib
+fi
+if [ "x${mingw_bin}" == "x" ]; then
+ export mingw_bin=$mingw_top/bin
+fi
# Check that we're in an OK place before starting to re-org
# the directory tree..