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

Ticket #2084 (new defect)

Opened 13 years ago

bob.sh fails on newer DMDs (with fix)

Reported by: Abscissa Assigned to: community
Priority: major Milestone: 1.0
Component: Tango Version: 0.99.9 Kai
Keywords: Cc:

Description

When DMD's tagline changed from "Digital Mars D Compiler vXXX" to "DMD32 D Compiler vXXX", that broke bob.sh.

If you change build/script/dmdinclude line 12 from:

DMDVERSION=`dmd | head -1 | cut -c 26-`

to

DMDHEADER=`dmd | head -1`
DMDVERSION=${DMDHEADER##*v}

Than that will make it work for either type of tagline.