aboutsummaryrefslogtreecommitdiff
path: root/system/sysdig
diff options
context:
space:
mode:
authorLeonard Schmidt <lems@gmx.net>2017-01-27 22:49:05 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-01-28 07:38:11 +0700
commit94542c3fba994ab66fd3fb100ef2d154a60442e5 (patch)
tree331730ff59d4ee92f9d022075091f19cdbc063db /system/sysdig
parentd93e33b8b1faa6c846e27d595ff3324a1e9858bf (diff)
system/sysdig: Fixup kernel id in package version.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'system/sysdig')
-rw-r--r--system/sysdig/sysdig.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/sysdig/sysdig.SlackBuild b/system/sysdig/sysdig.SlackBuild
index bad230c8836ed..bc1b58eba79d3 100644
--- a/system/sysdig/sysdig.SlackBuild
+++ b/system/sysdig/sysdig.SlackBuild
@@ -55,6 +55,7 @@ else
fi
KERNEL=${KERNEL:-$(uname -r)}
+PKGVER=${VERSION}_$(echo $KERNEL | tr - _)
set -e
@@ -115,4 +116,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
sed -e "s|@KERNEL@|$KERNEL|" $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$PKGVER-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}