aboutsummaryrefslogblamecommitdiffstats
path: root/testing/zangband/fix-bad-substitution.patch
blob: b344940b34fc6e3d4f909c2b25e4df5877f09149 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12











                                                                                                                                          
#The form ${!FLAG} throws bad substitution errors, converting to a posix complient form fixs it, and allows second pass generation to work
--- a/configure.in
+++ b/configure.in
@@ -249,7 +249,7 @@
 else
   eval $FLAG=no
 fi])
-if test ${!FLAG} = yes ; then
+if test [ "$FLAG" != yes ] ; then
   CFLAGS="$1 $CFLAGS"
 fi
 ])