[BACK]Return to patch-Makefile.in CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / databases / shared-mime-info / patches

File: [cvs.NetBSD.org] / pkgsrc / databases / shared-mime-info / patches / Attic / patch-Makefile.in (download)

Revision 1.1, Wed Feb 5 08:04:17 2020 UTC (3 years, 7 months ago) by he
Branch: MAIN
CVS Tags: pkgsrc-2022Q3-base, pkgsrc-2022Q3, pkgsrc-2022Q2-base, pkgsrc-2022Q2, pkgsrc-2022Q1-base, pkgsrc-2022Q1, pkgsrc-2021Q4-base, pkgsrc-2021Q4, pkgsrc-2021Q3-base, pkgsrc-2021Q3, pkgsrc-2021Q2-base, pkgsrc-2021Q2, pkgsrc-2021Q1-base, pkgsrc-2021Q1, pkgsrc-2020Q4-base, pkgsrc-2020Q4, pkgsrc-2020Q3-base, pkgsrc-2020Q3, pkgsrc-2020Q2-base, pkgsrc-2020Q2, pkgsrc-2020Q1-base, pkgsrc-2020Q1

Patch away a use of the non-standard == as operator for the test command.

$NetBSD: patch-Makefile.in,v 1.1 2020/02/05 08:04:17 he Exp $

Don't use non-portable test operator ==.

--- Makefile.in.orig	2018-06-28 10:02:41.000000000 +0000
+++ Makefile.in
@@ -1238,7 +1238,7 @@ check-translations:
 			RET=1;										\
 		fi;											\
 	done;												\
-	if [ $$RET == 1 ] ; then exit 1; fi
+	if [ $$RET = 1 ] ; then exit 1; fi
 
 update-translations: create-pot
 	@tx pull --all --force --skip