diff options
Diffstat (limited to 'slackware64-current/source/a/libcgroup')
-rwxr-xr-x | slackware64-current/source/a/libcgroup/libcgroup.SlackBuild | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/slackware64-current/source/a/libcgroup/libcgroup.SlackBuild b/slackware64-current/source/a/libcgroup/libcgroup.SlackBuild index 1e966cda0..109103c04 100755 --- a/slackware64-current/source/a/libcgroup/libcgroup.SlackBuild +++ b/slackware64-current/source/a/libcgroup/libcgroup.SlackBuild @@ -1,6 +1,6 @@ #!/bin/sh -# Copyright 2011, 2014, 2017 Patrick J. Volkerding, Sebeka, Minnesota, USA +# Copyright 2011, 2014, 2017, 2018 Patrick J. Volkerding, Sebeka, Minnesota, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -36,6 +36,14 @@ if [ -z "$ARCH" ]; then esac fi +# If the variable PRINT_PACKAGE_NAME is set, then this script will report what +# 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 "$PKGNAM-$VERSION-$ARCH-$BUILD.txz" + exit 0 +fi + NUMJOBS=${NUMJOBS:-" -j7 "} if [ "$ARCH" = "i586" ]; then |