diff options
Diffstat (limited to 'system/btop/btop.SlackBuild')
-rw-r--r-- | system/btop/btop.SlackBuild | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/system/btop/btop.SlackBuild b/system/btop/btop.SlackBuild index 9d6248f291500..d3041c52025d8 100644 --- a/system/btop/btop.SlackBuild +++ b/system/btop/btop.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=btop VERSION=${VERSION:-1.2.3} BUILD=${BUILD:-1} @@ -35,7 +37,11 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} |