summaryrefslogtreecommitdiff
path: root/system/zfs-on-linux/zfs-on-linux.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/zfs-on-linux/zfs-on-linux.SlackBuild')
-rw-r--r--system/zfs-on-linux/zfs-on-linux.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/zfs-on-linux/zfs-on-linux.SlackBuild b/system/zfs-on-linux/zfs-on-linux.SlackBuild
index 447d0eded7..337569909b 100644
--- a/system/zfs-on-linux/zfs-on-linux.SlackBuild
+++ b/system/zfs-on-linux/zfs-on-linux.SlackBuild
@@ -32,7 +32,7 @@ VERSION=${VERSION:-0.7.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
LINUXPATH=${LINUXPATH:-/usr/src/linux}
-KERN=$(cut -d '"' -f2 $LINUXPATH/include/generated/utsrelease.h)
+KERN=$(cut -d '"' -f2 $LINUXPATH/include/generated/utsrelease.h | tr - _)
if [ -z "$ARCH" ]; then
case "$( uname -m )" in