$NetBSD: patch-ai,v 1.5 2006/10/14 02:45:10 rillig Exp $

--- ../ghc-6.4.2/distrib/prep-bin-dist-mingw.orig	2006-03-19 04:26:18.000000000 +0100
+++ ../ghc-6.4.2/distrib/prep-bin-dist-mingw	2006-10-14 04:43:55.000000000 +0200
@@ -27,25 +27,25 @@
 #    - gcc_version -- what gcc version your mingw tree uses.
 #
 #
-if [ "x${old_ghc_top}" == "x" ]; then
+if [ "x${old_ghc_top}" = "x" ]; then
     export old_ghc_top=c:/ghc/ghc-6.2.1
 fi
-if [ "x${mingw_top}" == "x" ]; then
+if [ "x${mingw_top}" = "x" ]; then
  export mingw_top=c:/mingw3
 fi
 
 # The gcc-lib directory of the mingw tree you want to
 # include with the binary dist.
-if [ "x${gcc_lib}" == "x" ]; then
- if [ "x${gcc_version}" == "x" ]; then
+if [ "x${gcc_lib}" = "x" ]; then
+ if [ "x${gcc_version}" = "x" ]; then
    # The default (with mingw3)
    export gcc_lib=$mingw_top/lib/gcc-lib/mingw32/3.2.3
  else
    export gcc_lib=$mingw_top/lib/gcc-lib/mingw32/${gcc_version}
  fi
 fi
-if [ "x${gcc_libexec}" == "x" ]; then
- if [ "x${gcc_version}" == "x" ]; then
+if [ "x${gcc_libexec}" = "x" ]; then
+ if [ "x${gcc_version}" = "x" ]; then
    # The default (with mingw3)
    export gcc_libexec=$mingw_top/lib/gcc-lib/mingw32/3.2.3
  else
@@ -61,7 +61,7 @@ if [ "x${gcc_libexec}" == "x" ]; then
 fi
 
 #Directory where a (cygwin-free) perl binary resides.
-if [ "x${perl_dir}" == "x" ]; then
+if [ "x${perl_dir}" = "x" ]; then
   export perl_dir=$old_ghc_top
 fi
 
@@ -69,13 +69,13 @@ fi
 # The mingw include, lib, and bin directories; all derived
 # from ${mingw_top}.
 #
-if [ "x${mingw_include}" == "x" ]; then
+if [ "x${mingw_include}" = "x" ]; then
   export mingw_include=$mingw_top/include
 fi
-if [ "x${mingw_lib}" == "x" ]; then
+if [ "x${mingw_lib}" = "x" ]; then
   export mingw_lib=$mingw_top/lib
 fi
-if [ "x${mingw_bin}" == "x" ]; then
+if [ "x${mingw_bin}" = "x" ]; then
   export mingw_bin=$mingw_top/bin
 fi
 
