aboutsummaryrefslogtreecommitdiffstats
path: root/src/mkkerneldoth
diff options
context:
space:
mode:
Diffstat (limited to 'src/mkkerneldoth')
-rw-r--r--src/mkkerneldoth2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mkkerneldoth b/src/mkkerneldoth
index 1c3ee38a..ef60fb13 100644
--- a/src/mkkerneldoth
+++ b/src/mkkerneldoth
@@ -4,7 +4,7 @@
#
KERNEL_TYPE=`uname -r | sed 's_^.*\(smp\|enterprise\|bigmem\|hugemem\)$_-\1_;t;s_.*__;'`
-KERNEL_RELEASE=`uname -r | sed 's|smp\|enterprise\|bigmem\|hugemem||g'`
+KERNEL_RELEASE=`uname -r | sed 's_smp\|enterprise\|bigmem\|hugemem__g'`
rpm -q kernel$KERNEL_TYPE-$KERNEL_RELEASE >/dev/null 2>&1 && KERNEL_ARCH=`rpm -q --qf '%{ARCH}' kernel$KERNEL_TYPE-$KERNEL_RELEASE 2>/dev/null` || KERNEL_ARCH=`uname -m`