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