Changeset 752

Show
Ignore:
Timestamp:
29-07-10 14:16:01 (4 years ago)
Author:
duh
Message:

bugfix

Location:
misc/scripts
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • misc/scripts/deploy_latest_gscf.sh

    r750 r752  
    118118while [ "$index" -lt "${#DEV_PLUGINS[@]}" ] 
    119119do 
    120         if [ `find /home/tomcat/.grails/$GRAILS_VERSION/projects/gscf/plugins/${DEV_PLUGINS[index]}* -maxdepth 0 -type d|wc -l` -gt 0 ]; then 
     120        if [ `find /home/tomcat/.grails/$GRAILS_VERSION/projects/gscf/plugins/ -maxdepth 1|grep -i ${DEV_PLUGINS[index]}|wc -l` -gt 0]; then 
    121121                echo $STAMP uninstalling ${DEV_PLUGINS[index]} plugin 
    122122                grails uninstall-plugin ${DEV_PLUGINS[index]} > /dev/null 
  • misc/scripts/gscf_continuous_integration.sh

    r751 r752  
    138138while [ "$index" -lt "${#DEV_PLUGINS[@]}" ] 
    139139do 
    140         if [ `find /home/tomcat/.grails/$GRAILS_VERSION/projects/gscf/plugins/${DEV_PLUGINS[index]}* -maxdepth 0 -type d|wc -l` -gt 0 ]; then 
     140        if [ `find /home/tomcat/.grails/$GRAILS_VERSION/projects/gscf/plugins/ -maxdepth 1|grep -i ${DEV_PLUGINS[index]}|wc -l` -gt 0]; then 
    141141                echo $STAMP uninstalling ${DEV_PLUGINS[index]} plugin 
    142142                grails uninstall-plugin ${DEV_PLUGINS[index]} > /dev/null