Date: Fri, 19 Apr 2024 14:58:18 +0000 From: "Jonathan A. Kollasch" <jakll...@netbsd.org> Message-ID: <20240419145818.351d2f...@cvs.netbsd.org>
| - bail out if resulting __DATE__/__TIME__ replacement strings are empty If you want to do that (not that it would be useful, even if the %b (etc) conversions produced nothing, there would still be two spaces in the output. It is almost impossible to get date to exit with an error code (and nothing on stdout) in cases like this. But if this is worth keeping, then if ${MKREPRO_TIME} == "" || ${MKREPRO_TIME} == "" probably is not what you wanted. kre