pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/60388: xmlto uses `type -p cygpath`, is that a bashism



The following reply was made to PR pkg/60388; it has been noted by GNATS.

From: "David H. Gutteridge" <david%gutteridge.ca@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: pkg/60388: xmlto uses `type -p cygpath`, is that a bashism
Date: Mon, 29 Jun 2026 23:35:11 -0400

 The short answer would be "type -p" isn't universally supported by
 modern Unix shells. It was removed from NetBSD's sh prior to the
 9.0 release. "command -v" should probably be used here instead.
 
 (If interested in more detail about this, please see:
 https://gnats.netbsd.org/cgi-bin/query-pr-single.pl?number=3D54803
 )
 
 I can look at tweaking xmlto in pkgsrc, if it helps.
 
 Regards,
 
 Dave
 



Home | Main Index | Thread Index | Old Index