projects
/
openwrt
/
staging
/
pepe2k.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0c3a383
)
patch-specs.sh: gcc 3.4.6 has an additional "(OpenWrt-2.0)" after the version tag...
author
Jo-Philipp Wich
<jow@openwrt.org>
Sun, 29 Jan 2012 20:19:06 +0000
(20:19 +0000)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Sun, 29 Jan 2012 20:19:06 +0000
(20:19 +0000)
SVN-Revision: 29948
scripts/patch-specs.sh
patch
|
blob
|
history
diff --git
a/scripts/patch-specs.sh
b/scripts/patch-specs.sh
index 2ab779084b8a78c9d4c3140116d7098d5ee204f6..3307b6b0904501a83a5f8bc8824d91c9304c6fd1 100755
(executable)
--- a/
scripts/patch-specs.sh
+++ b/
scripts/patch-specs.sh
@@
-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