summaryrefslogtreecommitdiff
path: root/office/jstock/jstock.SlackBuild
diff options
context:
space:
mode:
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