summaryrefslogtreecommitdiff
path: root/geography/gdal-lib/patches/patch-dist__docs_install__unx.sh
blob: bb34c92fe732da4dbfdf16c5c0c597803cb56d0d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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