[BACK]Return to patch-plug-ins_pygimp_py-compile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / graphics / gimp / patches

File: [cvs.NetBSD.org] / pkgsrc / graphics / gimp / patches / patch-plug-ins_pygimp_py-compile (download)

Revision 1.1, Fri Mar 13 16:51:00 2020 UTC (8 months, 3 weeks ago) by tnn
Branch: MAIN
CVS Tags: pkgsrc-2020Q3-base, pkgsrc-2020Q3, pkgsrc-2020Q2-base, pkgsrc-2020Q2, pkgsrc-2020Q1-base, pkgsrc-2020Q1, HEAD

gimp: shell portability

$NetBSD: patch-plug-ins_pygimp_py-compile,v 1.1 2020/03/13 16:51:00 tnn Exp $

shell portability

--- plug-ins/pygimp/py-compile.orig	2018-07-04 11:00:26.000000000 +0000
+++ plug-ins/pygimp/py-compile
@@ -2,7 +2,7 @@
 # called as "py-compile [--basedir DIR] PY_FILES ...
 
 if [ -z "$PYTHON" ]; then
-    if [[ -x "$(command -v python2)" ]]; then
+    if [ -x "$(command -v python2)" ]; then
         PYTHON=python2
     else
         # Let's hope it's Python2