summaryrefslogtreecommitdiff
path: root/devel/cgen/patches/patch-cgen_gen-all
blob: 6a485352dca56a080b29c0ceaeb80bdb8fe1f36d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$NetBSD: patch-cgen_gen-all,v 1.1 2013/10/12 08:39:03 ryoon Exp $

--- cgen/gen-all.orig	2012-12-17 16:55:41.000000000 +0000
+++ cgen/gen-all
@@ -153,7 +153,7 @@ do
 	exit 1
     fi
 done
-if [ "${do_sid}" == "yes" ]
+if [ "${do_sid}" = "yes" ]
 then
     for c in ${sid_cpus}
     do
@@ -174,7 +174,7 @@ config_src () {
     prefix=$2
 
     extra_config_args=""
-    if [ "${target_sys}" == "${build_all_target_sys}" ]
+    if [ "${target_sys}" = "${build_all_target_sys}" ]
     then
 	extra_config_args="${extra_config_args} --enable-targets=all"
     fi