Changeset 752 for misc/scripts


Ignore:
Timestamp:
Jul 29, 2010, 2:16:01 PM (13 years ago)
Author:
duh
Message:

bugfix

Location:
misc/scripts
Files:
2 edited

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