diff options
author | Heinz Wiesinger <pprkut@slackbuilds.org> | 2021-07-04 15:59:52 +0200 |
---|---|---|
committer | Heinz Wiesinger <pprkut@slackbuilds.org> | 2021-07-17 21:55:15 +0200 |
commit | f7916a95de9f094a17ab8f6ee44f2845c905e399 (patch) | |
tree | 9014401ed6e10bd8451f8c70a808d715b7fbb795 /network | |
parent | 577779a32bcf04688b05954a1662bd7d2629268d (diff) |
network/RTL8192: Fix support for PRINT_PACKAGE_NAME
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
Diffstat (limited to 'network')
-rw-r--r-- | network/RTL8192/RTL8192.SlackBuild | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/network/RTL8192/RTL8192.SlackBuild b/network/RTL8192/RTL8192.SlackBuild index 7b98559b740a9..a28b9283ab4cf 100644 --- a/network/RTL8192/RTL8192.SlackBuild +++ b/network/RTL8192/RTL8192.SlackBuild @@ -30,6 +30,8 @@ BUILD=${BUILD:-25633} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} +KVER=${KVER:-$( uname -r )} + if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i386 ;; @@ -58,14 +60,13 @@ esac # the name of the created package would be, and then exit. This information # could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then - echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + echo "$PRGNAM-$VERSION-$ARCH-$KVER-$BUILD$TAG.$PKGTYPE" exit 0 fi TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -KVER=${KVER:-$( uname -r )} set -e |