$NetBSD: patch-man_fill__template,v 1.1 2023/01/07 21:20:19 triaxx Exp $ Fix non portable shell test. --- man/fill_template.orig 2022-04-15 19:14:06.000000000 +0000 +++ man/fill_template @@ -2,7 +2,7 @@ d="" [ -z "$SOURCE_DATE_EPOCH" ] || d=--date=@$SOURCE_DATE_EPOCH -if [ "$2" == "True" ]; then +if [ "$2" = "True" ]; then for i in *.0 ; do sed -e "s/!VERSION!/${1}/g" -e "s/!DATE!/`date $d '+%B %Y'`/g" < ${i} > ${i%%0}1 done