diff options
author | Leonard Schmidt <lems@gmx.net> | 2017-01-27 22:49:05 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-01-28 07:38:11 +0700 |
commit | 94542c3fba994ab66fd3fb100ef2d154a60442e5 (patch) | |
tree | 331730ff59d4ee92f9d022075091f19cdbc063db | |
parent | d93e33b8b1faa6c846e27d595ff3324a1e9858bf (diff) | |
download | slackbuilds-94542c3fba994ab66fd3fb100ef2d154a60442e5.tar.gz |
system/sysdig: Fixup kernel id in package version.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
-rw-r--r-- | system/sysdig/sysdig.SlackBuild | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/system/sysdig/sysdig.SlackBuild b/system/sysdig/sysdig.SlackBuild index bad230c883..bc1b58eba7 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} |