source: gs2-extensions/afrepo/trunk/src/bin/script/afr-classify

Last change on this file was 27608, checked in by davidb, 11 years ago

Tidy up

  • Property svn:executable set to *
File size: 631 bytes
Line 
1#!/bin/bash
2
3
4if [ "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
8fi
9
10if [ "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
14fi
15
16source $GEXT_AFREPO/AFR-SETUP.sh
17
18
19cd $GEXTAMP_INSTALLED/htdocs/afrepo
20
21
22if [ ! -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;
26fi
27
28
29
30bin/classify $*
Note: See TracBrowser for help on using the repository browser.