diff options
Diffstat (limited to 'system/jsawk')
-rw-r--r-- | system/jsawk/jsawk.SlackBuild | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/system/jsawk/jsawk.SlackBuild b/system/jsawk/jsawk.SlackBuild index f08ddfd1424d..f691dd7458af 100644 --- a/system/jsawk/jsawk.SlackBuild +++ b/system/jsawk/jsawk.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for jsawk -# Copyright 2013,2016,2018 Andrew Clemons, Wellington, New Zealand +# Copyright 2013,2016,2018-2019 Andrew Clemons, Wellington, New Zealand # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,7 +25,7 @@ PRGNAM=jsawk VERSION=${VERSION:-1.4} -BUILD=${BUILD:-2} +BUILD=${BUILD:-3} 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 js52 > /dev/null 2>&1 ; then - sed -i '/JSBIN=/s/-js/-js52/' $PKG/usr/bin/jsawk +if command -v js60 > /dev/null 2>&1 ; then + sed -i '/JSBIN=/s/-js/-js60/' $PKG/usr/bin/jsawk fi mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION @@ -59,4 +59,3 @@ cat $CWD/slack-desc > $PKG/install/slack-desc cd $PKG /sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} - |