mit-krb5: Remediate bashism
(I don't know how this built before, but it's in a test file, so no PKGREVISION bump is necessary.)
This commit is contained in:
parent
3e2c548fd5
commit
6c49e4ac10
2 changed files with 22 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
$NetBSD: distinfo,v 1.70 2020/04/09 10:57:04 adam Exp $
|
||||
$NetBSD: distinfo,v 1.71 2020/10/05 23:24:44 gdt Exp $
|
||||
|
||||
SHA1 (krb5-1.18.tar.gz) = 95573bea40844bba1032b7d8a7c3c43ccc44fdb1
|
||||
RMD160 (krb5-1.18.tar.gz) = 6595de6f7dc77746c986e3dad6a016d206efe4d9
|
||||
|
@ -7,6 +7,7 @@ Size (krb5-1.18.tar.gz) = 8706395 bytes
|
|||
SHA1 (patch-Makefile.in) = 24f915d7a4340b9a4a454b9b67c94147fdc49c34
|
||||
SHA1 (patch-aclocal.m4) = 07b5d9ae38c74eaea6ba62aed9062dca1bf7f3fb
|
||||
SHA1 (patch-build-tools_krb5-config.in) = 4ab922df1d86d86f9ef043f2c5cdf048c0477d3a
|
||||
SHA1 (patch-ccapi_test_test__ccapi.sh) = 7018e102a41255ae16cb3a60ac7f20126f7afa1d
|
||||
SHA1 (patch-config_lib.in) = 974db26486b3239e4fcd53be7280b32c802f6007
|
||||
SHA1 (patch-config_libnover.in) = 9337e06792e2dcc50c610503ef842ebfc18fc08b
|
||||
SHA1 (patch-config_libobj.in) = c7395b9de5baf6612b8787fad55dbc051a680bfd
|
||||
|
|
20
security/mit-krb5/patches/patch-ccapi_test_test__ccapi.sh
Normal file
20
security/mit-krb5/patches/patch-ccapi_test_test__ccapi.sh
Normal file
|
@ -0,0 +1,20 @@
|
|||
$NetBSD: patch-ccapi_test_test__ccapi.sh,v 1.1 2020/10/05 23:24:45 gdt Exp $
|
||||
|
||||
--- ccapi/test/test_ccapi.sh.orig 2020-02-12 17:21:58.000000000 +0000
|
||||
+++ ccapi/test/test_ccapi.sh
|
||||
@@ -6,7 +6,7 @@ TEST_DIR="tests"
|
||||
failure_count=0
|
||||
|
||||
function run_test {
|
||||
- if [[ -e $TEST_DIR/$1 ]]; then
|
||||
+ if [ -e "$TEST_DIR/$1" ]; then
|
||||
./$TEST_DIR/$1
|
||||
failure_count=`expr $failure_count + $?`
|
||||
fi
|
||||
@@ -73,4 +73,4 @@ run_test test_cc_get_NC_info
|
||||
|
||||
printf "\nFinished testing CCAPI. $failure_count failures in total.\n"
|
||||
|
||||
-exit 0
|
||||
\ No newline at end of file
|
||||
+exit 0
|
Loading…
Reference in a new issue