pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/gengetopt Fix shell portability
details: https://anonhg.NetBSD.org/pkgsrc/rev/0210bbe4b246
branches: trunk
changeset: 414459:0210bbe4b246
user: joerg <joerg%pkgsrc.org@localhost>
date: Fri Mar 27 20:53:05 2020 +0000
description:
Fix shell portability
diffstat:
devel/gengetopt/distinfo | 3 +-
devel/gengetopt/patches/patch-tests_valgrind__tests.sh.in | 31 +++++++++++++++
2 files changed, 33 insertions(+), 1 deletions(-)
diffs (47 lines):
diff -r 17640521ef34 -r 0210bbe4b246 devel/gengetopt/distinfo
--- a/devel/gengetopt/distinfo Fri Mar 27 20:52:19 2020 +0000
+++ b/devel/gengetopt/distinfo Fri Mar 27 20:53:05 2020 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.2 2015/11/03 03:27:27 agc Exp $
+$NetBSD: distinfo,v 1.3 2020/03/27 20:53:05 joerg Exp $
SHA1 (gengetopt-2.22.6.tar.gz) = c93bdec17f247aa32b3cd6530a6f68aa430d67f5
RMD160 (gengetopt-2.22.6.tar.gz) = e4e147cb4e75b4a0d0e959ae737b3082f534c3da
SHA512 (gengetopt-2.22.6.tar.gz) = dad5baf1b6c4c76ae7f532dd63c6aecdc30f31d68a259b6a26a10197f1fe42dc9147a52ac12a0c3fc4b7cd61d288a343a9223f967a5a9a15a0614330b41f68dc
Size (gengetopt-2.22.6.tar.gz) = 1056293 bytes
+SHA1 (patch-tests_valgrind__tests.sh.in) = 9b2432c80882ae94012b48ce8f57f74e6050e730
diff -r 17640521ef34 -r 0210bbe4b246 devel/gengetopt/patches/patch-tests_valgrind__tests.sh.in
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/gengetopt/patches/patch-tests_valgrind__tests.sh.in Fri Mar 27 20:53:05 2020 +0000
@@ -0,0 +1,31 @@
+$NetBSD: patch-tests_valgrind__tests.sh.in,v 1.1 2020/03/27 20:53:05 joerg Exp $
+
+--- tests/valgrind_tests.sh.in.orig 2020-03-27 19:17:51.919209257 +0000
++++ tests/valgrind_tests.sh.in
+@@ -52,7 +52,7 @@ vgrind () {
+ fi;
+
+ grep -e "LEAK SUMMARY" ${TMP_LOG} >/dev/null 2>&1
+- if test "$?" == "0"; then
++ if test "$?" = "0"; then
+ echo -n " LEAKS!"
+
+ echo "" >> ${SUMMARY}
+@@ -62,7 +62,7 @@ vgrind () {
+ fi
+
+ grep -e "[1-9][0-9]* error" ${TMP_LOG} >/dev/null 2>&1
+- if test "$?" == "0"; then
++ if test "$?" = "0"; then
+ echo -n " ERRORS!"
+
+ echo "" >> ${SUMMARY}
+@@ -71,7 +71,7 @@ vgrind () {
+ tmp_err=1
+ fi
+
+- if test "x${tmp_err}" == "x"; then
++ if test "x${tmp_err}" = "x"; then
+ echo " OK."
+ else
+ ERROR=1
Home |
Main Index |
Thread Index |
Old Index