Changeset 29948


Ignore:
Timestamp:
2012-01-29T21:19:06+01:00 (5 years ago)
Author:
jow
Message:

[scripts] patch-specs.sh: gcc 3.4.6 has an additional "(OpenWrt-2.0)" after the version tag, cope with that

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/scripts/patch-specs.sh

    r29945 r29948  
    6363 
    6464 
    65 VERSION="$(STAGING_DIR="$DIR" "$CPP" --version | head -n1)" 
     65VERSION="$(STAGING_DIR="$DIR" "$CPP" --version | sed -ne 's/^.* (.*) //; s/ .*$//; 1p')" 
    6666VERSION="${VERSION:-unknown}" 
    6767 
Note: See TracChangeset for help on using the changeset viewer.