Changeset 753

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

bugfix

Location:
misc/scripts
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • misc/scripts/deploy_latest_gscf.sh

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

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