Changeset 1d8cbc9 for configure


Ignore:
Timestamp:
2015-05-31T05:48:40Z (9 years ago)
Author:
dequis <dx@…>
Branches:
master
Children:
81d40fe, d4f28ed
Parents:
c984ee3
Message:

configure: bsd sed doesn't support \+ without -r, use * instead

Tested in openbsd 5.6, which does have sed -r (unlike Mac OS X) but it
needs -r to recognize + at all.

The previous commit did fix enough to make it 'work' with the git
describe output as version string, the only problem was that the sed
didn't match in bsds and mac os x.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure

    rc984ee3 r1d8cbc9  
    7979                branch=$(cd $srcdir; git rev-parse --abbrev-ref HEAD)
    8080
    81                 search="\(.\+\)-\([0-9]\+\)-\(g[0-9a-f]\+\)"
     81                search='\(.*\)-\([0-9]*\)-\(g[0-9a-f]*\)'
    8282                replace="\1+$timestamp+$branch+\2-\3-git"
    8383
Note: See TracChangeset for help on using the changeset viewer.