mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-23 22:34:04 +02:00
[scripts] patch-specs.sh: gcc 3.4.6 has an additional "(OpenWrt-2.0)" after the version tag, cope with that
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29948 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
145008f98d
commit
1379b2edd2
@ -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}"
|
VERSION="${VERSION:-unknown}"
|
||||||
|
|
||||||
case "${VERSION##* }" in
|
case "${VERSION##* }" in
|
||||||
|
Loading…
Reference in New Issue
Block a user