diff options
author | Andrew Clemons <andrew.clemons@gmail.com> | 2022-04-18 11:43:07 +1200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-04-24 01:47:14 +0700 |
commit | 78b55611f3d403fec140149f314f2ba2a2263455 (patch) | |
tree | 68df0b7a501b776a35db976414c2515e6d748d6a /network/brave-browser | |
parent | ee0fe2eea0006f7b9e195fa993fcd4431e2d30d3 (diff) |
network/brave-browser: Fix BUILD variable usage.
This is for the internal build number and can be passed through the
environment, not upstream build numbers.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/brave-browser')
-rw-r--r-- | network/brave-browser/brave-browser.SlackBuild | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/network/brave-browser/brave-browser.SlackBuild b/network/brave-browser/brave-browser.SlackBuild index 77e5fa31326d7..7d803a09681ff 100644 --- a/network/brave-browser/brave-browser.SlackBuild +++ b/network/brave-browser/brave-browser.SlackBuild @@ -30,6 +30,7 @@ VERSION=${VERSION:-1.37.116} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} +DEBBUILD=${DEBBUILD:-1} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -65,7 +66,7 @@ cd $TMP rm -rf $PRGNAM-$VERSION mkdir -p $PRGNAM-$VERSION cd $PRGNAM-$VERSION -rpm2cpio < $CWD/${PRGNAM}-${VERSION}-${BUILD}.${ARCH}.rpm | cpio -imdv +rpm2cpio < $CWD/${PRGNAM}-${VERSION}-${DEBBUILD}.${ARCH}.rpm | cpio -imdv chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ |