Download Reference Manual
The Developer's Library for D
About Wiki Forums Source Search Contact

Ticket #1069 (closed defect: fixed)

Opened 3 months ago

Last modified 3 months ago

build script doesn't recognize pre-release gdc version

Reported by: afb Assigned to: larsivi
Priority: major Milestone: 0.99.7
Component: Tango Version: trunk
Keywords: Cc:

Description

Almost forgot, the build script doesn't recognize the pre-release of GDC (and crashes with the 0.24 release)

./build-gdc-x.sh: line 36: [: 022): integer expression expected

Attachments

tango-build-prerelease.patch (0.5 kB) - added by afb on 04/26/08 06:00:10.

Change History

04/26/08 06:00:10 changed by afb

  • attachment tango-build-prerelease.patch added.

04/27/08 05:18:00 changed by larsivi

  • milestone changed from 0.99.6 to 0.99.7.

04/28/08 14:58:34 changed by mandel

On a PPC MacOS 10.4:

./build-gdc.sh: line 24: [: 022): integer expression

04/28/08 14:59:11 changed by larsivi

  • owner changed from kris to larsivi.
  • status changed from new to assigned.

05/07/08 13:55:33 changed by larsivi

  • status changed from assigned to closed.
  • resolution set to fixed.

(In [3489]) Find version for pre-releases too, closes #1069, thanks afb and mandel

05/10/08 03:16:37 changed by afb

  • status changed from closed to reopened.
  • resolution deleted.

Oops, seem to have forgotten that ? only works with extended sed format with bsdsed...

So it needs to use the more convoluted explicit syntax {0,1} in order to work in both:

's/^.*gdc \(pre\-\{0,1\}release \)*\([0-9]*\.[0-9]*\).*$/\2/'

05/10/08 04:48:23 changed by larsivi

  • status changed from reopened to closed.
  • resolution set to fixed.

(In [3497]) Fix regex expression, closes #1069 (again), thanks afb