summaryrefslogtreecommitdiff
path: root/office/jstock/jstock.SlackBuild
diff options
context:
space:
mode:
authorZhu Qun-Ying <zhu.qunying@gmail.com>2016-12-09 23:24:15 +0000
committerDavid Spencer <idlemoor@slackbuilds.org>2016-12-10 00:57:38 +0000
commitb5f91e8dbeab6a6de42be0e69801a6611aa67837 (patch)
tree1040aea3becc868bd13d88579481efd9b5bd84d8 /office/jstock/jstock.SlackBuild
parent39e3f16b48cb3da68cd562fc69ee50fd14922754 (diff)
downloadslackbuilds-b5f91e8dbeab6a6de42be0e69801a6611aa67837.tar.gz
office/jstock: Updated for version 1.0.7.17.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'office/jstock/jstock.SlackBuild')
-rw-r--r--office/jstock/jstock.SlackBuild9
1 files changed, 4 insertions, 5 deletions
diff --git a/office/jstock/jstock.SlackBuild b/office/jstock/jstock.SlackBuild
index cba0a53c23..c032fb650a 100644
--- a/office/jstock/jstock.SlackBuild
+++ b/office/jstock/jstock.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=jstock
-VERSION=${VERSION:-1.0.7.16}
+VERSION=${VERSION:-1.0.7.17}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -66,10 +66,9 @@ find -L . \
chmod +x jstock/jstock.sh
sed -i '/\/usr\/lib\/java/a JAVA_HOME='"$JAVAHOME"'' jstock/jstock.sh
-(
- cd $PKG/usr/bin
- ln -s /opt/jstock/jstock.sh jstock
-)
+cd $PKG/usr/bin
+ln -sf /opt/jstock/jstock.sh jstock
+cd -
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild