Changeset 24714

Show
Ignore:
Timestamp:
05.10.2011 13:57:33 (8 years ago)
Author:
davidb
Message:

Corrected 'gsdlsrc' to 'gsdlsrcdir' variable, plus made the decision to remove web/ext/solr based on whether 'web' exists or not

Files:
1 modified

Legend:

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

    r24648 r24714  
    1515if [ -d backup ] ; then 
    1616  echo "Reverting GS2LuceneSearch to nolonger inherit from SharedSoleneGS2FieldSearch.java" 
    17   /bin/rm ../../$gsdlsrc/service/SharedSoleneGS2FieldSearch.java  
    18   /bin/rm ../../$gsdlsrc/service/GS2LuceneSearch.java  
    19   /bin/mv backup/GS2LuceneSearch.java $gsdlsrc/service/. 
     17  /bin/rm ../../$gsdlsrcdir/service/SharedSoleneGS2FieldSearch.java  
     18  /bin/rm ../../$gsdlsrcdir/service/GS2LuceneSearch.java  
     19  /bin/mv backup/GS2LuceneSearch.java $gsdlsrcdir/service/. 
    2020  rmdir backup 
    2121fi 
     
    3131  /bin/rm -f "../../$classesdir/$f" 
    3232done 
     33 
     34webextdir=ext/solr 
     35 
     36if [ -d web ] ; 
     37  # remove the content of the web folder copied in by ADD-SERVICE.sh 
     38  /bin/rm -r ../../$webextdir 
     39fi