We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 377a266 commit 1292438Copy full SHA for 1292438
fetch-config.sh
@@ -27,9 +27,12 @@ fi
27
cd ..
28
cp .fetch_config/usr/src/linux-headers-*/.config ./.config
29
# GCC_VERSION=$(cat .config | sed -n 's/CONFIG_CC_VERSION_TEXT=".*\s\(.*\)"$/\1/p')
30
+echo "reached 1"
31
GCC_VERSION=$(cat .config | sed -n 's/CONFIG_GCC_VERSION=\(.*\)$/\1/p')
32
+echo $GCC_VERSION
33
((G_MAJOR=GCC_VERSION/10000, G_MIDDLE=(GCC_VERSION%10000)/100, G_LAST=GCC_VERSION%100))
34
GCC_VERSION=$G_MAJOR.$G_MIDDLE.$G_LAST
35
36
GCC_VERSION_MAJOR=$(echo "${GCC_VERSION}" | sed -En 's/(.*).[0-9]+/\1/p')
37
38
rm -rf .fetch_config
0 commit comments