pkg/60388: xmlto uses `type -p cygpath`, is that a bashism
| Newsgroups | gmane.os.netbsd.devel.pkgsrc.bugs |
|---|---|
| Message-ID | <[email protected]> |
>Number: 60388 >Category: pkg >Synopsis: xmlto uses `type -p cygpath`, is that a bashism >Confidential: no >Severity: non-critical >Priority: medium >Responsible: pkg-manager >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Tue Jun 30 01:50:00 +0000 2026 >Originator: cagney >Release: 10.1 >Organization: libreswan >Environment: NetBSD thomasina 10.0_RC5 NetBSD 10.0_RC5 (GENERIC64) >Description: xmlto contains ``` -o) OUTPUT_DIR="$2" if type -p cygpath >/dev/null; then OUTPUT_DIR=$(cygpath "$OUTPUT_DIR") fi ``` leading to: ``` xmlto --searchpath /home/cagney/pkgsrc/wip/libreswan/work/libreswan-5.3.1/programs/showhostkey:/home/cagney/pkgsrc/wip/libreswan/work/libreswan-5.3.1/mk man ipsec-showhostkey.8.xml -o ../../OBJ.netbsd.evbarm/programs/showhostkey type: usage: type name... Note: Writing ipsec-showhostkey.8 ``` >How-To-Repeat: >Fix: I'm not clear if this is a bashism or a shell deficiency.