uprod.sh 460 Bytes
Newer Older
Sebastien QUESSON's avatar
Sebastien QUESSON committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
 #!/bin/bash
SCRIPTDIR=`dirname $(readlink -f $0)`
SCRIPTNAME=`basename $(readlink -f $0)`

SITES="prodigeadmincarto/carmenwsback
prodigeadmincarto/carmenwsmapserv
prodigeadminsite
prodigecatalogue
prodigedatacarto
prodigefrontcarto
prodigetelecarto"


for SITE in $SITES
do 
    cd $SCRIPTDIR
    if [ -d "$SCRIPTDIR/$SITE" ]; then
        echo "cleaning $SCRIPTDIR/$SITE"
        chmod u+x $SITE/bin/uprod.sh
        cd $SITE && ./bin/uprod.sh
    fi
done;