On 4 Jun 2005, at 15:39 , Diego Biurrun wrote:
The current version.sh from the CVS "almost works", with both Mac OS X 10.4.x 10.3.x. The attached patch (which should be harmless for "the rest of the world") fixes everything.
Not here (OS X 10.3.9):
I assumed it "almost worked" both on 10.3 and 10.4. In fact does not work on either, just in different ways... It turns out that 10.3.x ls says "-rw-r--r-- 1 chris staff 3413 2 Jun 21:29:35 2005 CVS/Entries" whereas 10.4.x ls says "-rw-r--r-- 1 chris staff 3413 Jun 2 21:29:35 2005 CVS/Entries". Without the patch, no error is generated, but the output string is wrong: under 10.4, if the day of the month is less than 10 the version string is yymmd-hh:mm under 10.3, the version string is always yy00Mon-hh:mm This patch uses a perl version of the incantation if the os is Darwin. There's ALWAYS perl with darwin.