Skip to content
Snippets Groups Projects
Commit 1a6ccdc0 authored by Jo-Philipp Wich's avatar Jo-Philipp Wich
Browse files

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

SVN-Revision: 29948
parent 0c3a3839
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment