projects
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
145008f
)
[scripts] patch-specs.sh: gcc 3.4.6 has an additional "(OpenWrt-2.0)" after the versi...
author
jow
<jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 29 Jan 2012 20:19:06 +0000
(20:19 +0000)
committer
jow
<jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 29 Jan 2012 20:19:06 +0000
(20:19 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29948
3c298f89
-4303-0410-b956-
a3cf2f4a3e73
scripts/patch-specs.sh
patch
|
blob
|
history
diff --git
a/scripts/patch-specs.sh
b/scripts/patch-specs.sh
index
2ab7790
..
3307b6b
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
This page took
0.021093 seconds
and
4
git commands to generate.