aboutsummaryrefslogtreecommitdiff
path: root/system/jsawk
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2020-09-25 13:40:36 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-09-26 16:10:58 +0700
commit0ec8236d0bfcef160ab1f767d9479a097219319f (patch)
tree7220f369b839ad3a6c956435b3b6b2645d1f10c8 /system/jsawk
parentb286c483a7f98e3969ef5ed3bfe2365685c2cd56 (diff)
system/jsawk: Support mozjs78 from -current.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/jsawk')
-rw-r--r--system/jsawk/jsawk.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/system/jsawk/jsawk.SlackBuild b/system/jsawk/jsawk.SlackBuild
index cd2432898f454..3a139be516c8a 100644
--- a/system/jsawk/jsawk.SlackBuild
+++ b/system/jsawk/jsawk.SlackBuild
@@ -25,7 +25,7 @@
PRGNAM=jsawk
VERSION=${VERSION:-1.4}
-BUILD=${BUILD:-4}
+BUILD=${BUILD:-5}
TAG=${TAG:-_SBo}
ARCH=noarch
@@ -47,8 +47,8 @@ cp $CWD/jsawk $PKG/usr/bin
chmod 0755 $PKG/usr/bin/jsawk
chown root:root $PKG/usr/bin/jsawk
-if command -v js68 > /dev/null 2>&1 ; then
- sed -i '/JSBIN=/s/-js/-js68/' $PKG/usr/bin/jsawk
+if command -v js78 > /dev/null 2>&1 ; then
+ sed -i '/JSBIN=/s/-js/-js78/' $PKG/usr/bin/jsawk
fi
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION