Skip to main content
aboutsummaryrefslogblamecommitdiffstats
blob: 3480d05bee8ecd9d6f9542e1a2c3f3d22fbdbd65 (plain) (tree)
1
2
3
4
5
6
7
8
9

                   
                                                                    
 



                                                                    
    
                                                         

  
                                                  
 
                                                                   
    
                                                                
    
                                          
  

           
 
#!/usr/bin/env bash

# Utility to update both 4.x index pages, for all build technologies

# To allow this cron job to work from hudson, or traditional crontab
if [[ -z "${WORKSPACE}" ]]
then
  export UTILITIES_HOME=/shared/eclipse
else
  export UTILITIES_HOME=${WORKSPACE}/utilities/production
fi

# for testing, may not be in "production" location

if [[ -f ${UTILITIES_HOME}/sdk/updateIndexFilesFunction.shsource ]]
then
  source ${UTILITIES_HOME}/sdk/updateIndexFilesFunction.shsource
else
  source updateIndexFilesFunction.shsource
fi
updateIndex


Back to the top