Skip to content
This repository has been archived by the owner on Mar 29, 2022. It is now read-only.

Commit

Permalink
Use $PWD instead of $HOME for Nu
Browse files Browse the repository at this point in the history
  • Loading branch information
vfaronov committed Jul 26, 2016
1 parent b2d9da5 commit db6783c
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions tools/vnu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,21 +15,19 @@ VERSION=16.6.29
JAVA=/usr/lib/jvm/java-8-oracle/bin/java
test -e "$JAVA" || JAVA=java

dir=$HOME/vnu

action=$1
shift

case $action in
install)
rm -rf "$dir"
mkdir -p "$dir"
cd "$dir"
rm -rf vnu
mkdir vnu
cd vnu
wget "$RELEASES/download/$VERSION/vnu.jar_$VERSION.zip" -O vnu.zip
unzip vnu.zip
;;

validate)
"$JAVA" -jar "$dir/dist/vnu.jar" "$@"
"$JAVA" -jar vnu/dist/vnu.jar "$@"
;;
esac

0 comments on commit db6783c

Please sign in to comment.