kernel: add some more missing kernel symbols for 3.2 and 3.3
[openwrt.git] / scripts / patch-specs.sh
index 2ab7790..3307b6b 100755 (executable)
@@ -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.020547 seconds and 4 git commands to generate.