Changeset 24714 for gs3-extensions/solr


Ignore:
Timestamp:
2011-10-05T13:57:33+13:00 (10 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

File:
1 edited

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
Note: See TracChangeset for help on using the changeset viewer.