source: other-projects/mars-music-recommender/trunk/amc-music-scrape/RUN.sh@ 30422

Last change on this file since 30422 was 30422, checked in by davidb, 8 years ago

Tidier treatment of 'bin' and 'audio' directories from an SVN point of view

  • Property svn:executable set to *
File size: 445 bytes
RevLine 
[30416]1#!/bin/bash
2
[30417]3cygpath -h >/dev/null 2>&1
[30416]4if [ $? = "0" ] ; then
5 is_cygwin=1
6else
7 is_cygwin=0
8fi
9
[30422]10if [ ! -d audio ] ; then
11 echo "Creating directory 'audio' for downloaded audio files and JSON metadata"
12 mkdir audio
13fi
[30416]14
[30422]15
[30416]16if [ $is_cygwin = "1" ] ; then
[30419]17 java -cp jars\\jsoup-1.8.3.jar\;jars\\json-simple-1.1.1.jar\;bin AMCArtistScrape
[30416]18else
[30419]19 java -cp jars/jsoup-1.8.3.jar:jars/json-simple-1.1.1.jar:bin AMCArtistScrape
[30416]20fi
21
22
Note: See TracBrowser for help on using the repository browser.