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

Revision 30422, 445 bytes (checked in by davidb, 4 years ago)

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

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