Line | |
---|
1 | #!/bin/bash
|
---|
2 |
|
---|
3 |
|
---|
4 | if [ "x$GEXTAMP_INSTALLED" = "x" ] ; then
|
---|
5 | echo "Environment variable GEXTAMP_INSTALLED not set" >&2
|
---|
6 | echo "Have you sourced the extensions setup file?" >&2
|
---|
7 | exit
|
---|
8 | fi
|
---|
9 |
|
---|
10 | if [ "x$GEXT_AFREPO" = "x" ] ; then
|
---|
11 | echo "Environment variable GEXT_AFREPO not set" >&2
|
---|
12 | echo "Have you sourced the extensions setup file?" >&2
|
---|
13 | exit
|
---|
14 | fi
|
---|
15 |
|
---|
16 | source $GEXT_AFREPO/AFR-SETUP.sh
|
---|
17 |
|
---|
18 |
|
---|
19 | cd $GEXTAMP_INSTALLED/htdocs/afrepo
|
---|
20 |
|
---|
21 |
|
---|
22 | if [ ! -d "audio-ids" ] ; then
|
---|
23 | echo "Error: need to run 'afr.makelinks' first to generate MD5 hashed 'audio-ids' directory" >2
|
---|
24 | echo " based on the content of 'localtest'" >2
|
---|
25 | exit 1;
|
---|
26 | fi
|
---|
27 |
|
---|
28 |
|
---|
29 |
|
---|
30 | bin/classify $*
|
---|
Note:
See
TracBrowser
for help on using the repository browser.