Skip to content

Commit

Permalink
fix issues lxdvs#30
Browse files Browse the repository at this point in the history
  • Loading branch information
bhrdn committed Oct 15, 2018
1 parent 535046a commit 3192fc0
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions make.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,20 @@ SYS=`uname`
ARCH=`uname -m`
git submodule update --init
cd jd-cmd

which mvn > /dev/null 2>&1
[[ ! "$?" -eq 0 ]] && {

which apt > /dev/null 2>&1
if [[ "$?" -eq 0 ]]; then
echo "[*] Installing maven..."
sudo apt-get install maven
else
echo "[!] This script require maven installed to work"
exit 1
fi
}

mvn clean package
cp jd-cli/target/jd-cli.jar ..
cd ..
Expand Down

0 comments on commit 3192fc0

Please sign in to comment.