Changeset 25802

Show
Ignore:
Timestamp:
20.06.2012 15:25:17 (7 years ago)
Author:
sjm84
Message:

Some minor fixes to the Add-service.sh file

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • gs3-extensions/solr/trunk/src/ADD-SERVICE.sh

    r24742 r25802  
    1111done 
    1212 
    13  
    1413classesdir=web/WEB-INF/classes 
    1514 
     
    2120  /bin/cp "properties/$f" "../../$classesdir/$f" 
    2221done 
    23  
    2422 
    2523jarwebdir=web/WEB-INF/lib 
     
    3331done 
    3432 
    35  
    36  
    37 webextdir=ext/solr 
     33webextdir=web/ext/solr 
    3834 
    3935if [ ! -d ../../$webextdir ] ; then 
    4036  echo "Creating web extension direction: $webextdir" 
    41   mkir ../../$webextdir 
     37  mkdir ../../$webextdir 
    4238fi 
     39 
     40web_list="solr.xml" 
     41 
     42for f in $web_list ; do 
     43  echo "Adding $f to gsdl3 web ext directory" 
     44  /bin/cp "$f" "../../$webextdir/$f" 
     45done 
    4346 
    4447if [ -d web ] ; then 
     
    4649  /bin/cp -r web/* ../../$webextdir/. 
    4750fi 
    48