patch-specs.sh: gcc 3.4.6 has an additional "(OpenWrt-2.0)" after the version tag, cope with that
SVN-Revision: 29948
This commit is contained in:
parent
0c3a383974
commit
1a6ccdc0cf
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@ patch_specs() {
|
|||
}
|
||||
|
||||
|
||||
VERSION="$(STAGING_DIR="$DIR" "$CPP" --version | head -n1)"
|
||||
VERSION="$(STAGING_DIR="$DIR" "$CPP" --version | sed -ne 's/^.* (.*) //; s/ .*$//; 1p')"
|
||||
VERSION="${VERSION:-unknown}"
|
||||
|
||||
case "${VERSION##* }" in
|
||||
|
|
Loading…
Reference in a new issue