summaryrefslogtreecommitdiff
path: root/source/l/mozjs78/mozjs78.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/l/mozjs78/mozjs78.SlackBuild')
-rwxr-xr-xsource/l/mozjs78/mozjs78.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/l/mozjs78/mozjs78.SlackBuild b/source/l/mozjs78/mozjs78.SlackBuild
index 98dacfc4..26d0a5fc 100755
--- a/source/l/mozjs78/mozjs78.SlackBuild
+++ b/source/l/mozjs78/mozjs78.SlackBuild
@@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=mozjs78
SRCNAME=firefox
-VERSION=78.4.1esr
+VERSION=$(basename $(ls $SRCNAME-*.tar.?z | cut -d - -f 2 | rev | cut -f 3- -d . | rev) .source)
BUILD=${BUILD:-1}
# Automatically determine the architecture we're building on: