summaryrefslogtreecommitdiff
path: root/geography/gdal-lib/patches/patch-dist__docs_install__unx.sh
diff options
context:
space:
mode:
Diffstat (limited to 'geography/gdal-lib/patches/patch-dist__docs_install__unx.sh')
-rw-r--r--geography/gdal-lib/patches/patch-dist__docs_install__unx.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/geography/gdal-lib/patches/patch-dist__docs_install__unx.sh b/geography/gdal-lib/patches/patch-dist__docs_install__unx.sh
new file mode 100644
index 00000000000..bb34c92fe73
--- /dev/null
+++ b/geography/gdal-lib/patches/patch-dist__docs_install__unx.sh
@@ -0,0 +1,16 @@
+$NetBSD: patch-dist__docs_install__unx.sh,v 1.1 2017/01/13 02:26:04 gdt Exp $
+
+Remediate bashisms.
+Not yet reported upstream.
+
+--- dist_docs/install_unx.sh.orig 2016-07-01 08:55:08.000000000 +0000
++++ dist_docs/install_unx.sh
+@@ -58,7 +58,7 @@ done
+ cp share/gdal/* $PREFIX/share/gdal
+
+ for EXECUTABLE in bin/* ; do
+- if test "$EXECUTABLE" == "bin/gdal-config" -o "$EXECUTABLE" == "bin/burnpath" ; then
++ if test "$EXECUTABLE" = "bin/gdal-config" -o "$EXECUTABLE" = "bin/burnpath" ; then
+ /bin/true
+ else
+ cp $EXECUTABLE $PREFIX/bin