summaryrefslogtreecommitdiffstats
path: root/scripts/kernel-version.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/kernel-version.sh')
-rw-r--r--scripts/kernel-version.sh8
1 files changed, 0 insertions, 8 deletions
diff --git a/scripts/kernel-version.sh b/scripts/kernel-version.sh
deleted file mode 100644
index e2ec93a5a..000000000
--- a/scripts/kernel-version.sh
+++ /dev/null
@@ -1,8 +0,0 @@
-VER=$(grep patch sources | head -n1 | awk '{ print $2 }' | sed s/patch-// | sed s/-git.*// | sed s/.xz// | tr -d "()")
-
-if [ -z "$VER" ] ;
-then
- VER=$(grep linux sources | head -1 | awk '{ print $2 }' | sed s/linux-// | sed s/.tar.xz// | tr -d "()")
-fi
-
-