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

Commit

Permalink
some modifications
Browse files Browse the repository at this point in the history
  • Loading branch information
viyatb committed Jun 29, 2015
1 parent d2f8d77 commit c68dcea
Showing 1 changed file with 7 additions and 10 deletions.
17 changes: 7 additions & 10 deletions install.sh
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -27,19 +27,16 @@
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
RootDir=$1
DIR="$ROOTDIR/lib/"

VERSION=3.6
TEMPFILE="crawljax.jar"
TEMPFILE="crawljax.zip"

if ! [ "$(ls -A $DIR)" ]; then
# Download jars from crawljax releases
wget https://github.com/crawljax/crawljax/releases/download/crawljax-${VERSION}/crawljax-web-${VERSION}-distribution.zip -O $TEMPFILE;
# Download jars from crawljax releases
wget https://github.com/crawljax/crawljax/releases/download/crawljax-${VERSION}/crawljax-web-${VERSION}-distribution.zip -O $TEMPFILE;

# extract the jars into lib folder
unzip -d $DIR $TEMPFILE;
# extract the jars
unzip $TEMPFILE;

# cleanup
rm $TEMPFILE;
fi
# cleanup
rm $TEMPFILE;

0 comments on commit c68dcea

Please sign in to comment.