diff options
author | gdt <gdt@pkgsrc.org> | 2020-05-16 21:19:58 +0000 |
---|---|---|
committer | gdt <gdt@pkgsrc.org> | 2020-05-16 21:19:58 +0000 |
commit | 96b8961f0de0ea382f966e72c7d6c736ada6cc2c (patch) | |
tree | 69911231b3b876f9a29bf407c2a1f689e7437257 /devel | |
parent | d7bf9b81c415c3e87d6e17590295b52e091e7a7e (diff) | |
download | pkgsrc-96b8961f0de0ea382f966e72c7d6c736ada6cc2c.tar.gz |
devel/netcdf: Remediate test [[
Diffstat (limited to 'devel')
-rw-r--r-- | devel/netcdf/distinfo | 4 | ||||
-rw-r--r-- | devel/netcdf/patches/patch-ncdap__test_testauth.sh | 24 |
2 files changed, 24 insertions, 4 deletions
diff --git a/devel/netcdf/distinfo b/devel/netcdf/distinfo index 134d7a0681c..d500934f593 100644 --- a/devel/netcdf/distinfo +++ b/devel/netcdf/distinfo @@ -1,8 +1,8 @@ -$NetBSD: distinfo,v 1.20 2018/05/16 06:32:58 wen Exp $ +$NetBSD: distinfo,v 1.21 2020/05/16 21:19:58 gdt Exp $ SHA1 (netcdf-4.6.1.tar.gz) = 11912675530db61474b305b572e06f83d682aa2c RMD160 (netcdf-4.6.1.tar.gz) = aa70f9ca6b5fbd8c914420b3570ac4f316ed47e5 SHA512 (netcdf-4.6.1.tar.gz) = a2d49b013ff1bcba748e4b1f55a14a25728bfdfce44001cbfacfd01d585ea39972950ea4db6fa6ec3531f8be8a3a3072a2338b6b211205719e81d0498fd8a502 Size (netcdf-4.6.1.tar.gz) = 5693557 bytes SHA1 (patch-configure) = 74457173c01355cd0f99f136ae10bdc67e831489 -SHA1 (patch-ncdap__test_testauth.sh) = 2a92af8d23238815b8d6645f2d3c2376d2c2ff91 +SHA1 (patch-ncdap__test_testauth.sh) = ce9968762c7e0ba53ce32c3210cab621f35ea669 diff --git a/devel/netcdf/patches/patch-ncdap__test_testauth.sh b/devel/netcdf/patches/patch-ncdap__test_testauth.sh index 70b9428670d..1a709075644 100644 --- a/devel/netcdf/patches/patch-ncdap__test_testauth.sh +++ b/devel/netcdf/patches/patch-ncdap__test_testauth.sh @@ -1,9 +1,29 @@ -$NetBSD: patch-ncdap__test_testauth.sh,v 1.2 2018/05/16 06:32:58 wen Exp $ +$NetBSD: patch-ncdap__test_testauth.sh,v 1.3 2020/05/16 21:19:58 gdt Exp $ Portability fix. ---- ncdap_test/testauth.sh.orig 2018-05-16 03:08:45.000000000 +0000 +\todo File upstream. + +--- ncdap_test/testauth.sh.orig 2018-03-15 21:22:57.000000000 +0000 +++ ncdap_test/testauth.sh +@@ -87,7 +87,7 @@ createrc() { + RCP="$1" ; shift + unset NOPWD + unset BADPWD +- while [[ $# > 0 ]] ; do ++ while [ "$#" > 0 ] ; do + case "$1" in + nopwd) NOPWD=1 ;; + badpwd) BADPWD=1 ;; +@@ -124,7 +124,7 @@ createnetrc() { + NCP="$1" ; shift + unset NOPWD + unset BADPWD +- while [[ $# > 0 ]] ; do ++ while [ "$#" > 0 ] ; do + case "$1" in + nopwd) NOPWD=1 ;; + badpwd) BADPWD=1 ;; @@ -246,7 +246,7 @@ if test "x$RCHOME" = x1 ; then show fi |