aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2005-06-01 15:42:21 +0000
committerBill Nottingham <notting@redhat.com>2005-06-01 15:42:21 +0000
commitbb81b2f970e9b388d58a56d5b6aee95e90567fcf (patch)
treef5df6c942af248bf4e7dce30678647b0152dd471 /src
parent65bc940d96d4360ce4d5c4f9c937c7c59c28bb28 (diff)
downloadinitscripts-bb81b2f970e9b388d58a56d5b6aee95e90567fcf.tar
initscripts-bb81b2f970e9b388d58a56d5b6aee95e90567fcf.tar.gz
initscripts-bb81b2f970e9b388d58a56d5b6aee95e90567fcf.tar.bz2
initscripts-bb81b2f970e9b388d58a56d5b6aee95e90567fcf.tar.xz
initscripts-bb81b2f970e9b388d58a56d5b6aee95e90567fcf.zip
fix for newer sed (#159159, <trevin@xmission.com>)
Diffstat (limited to 'src')
-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`