uprod.sh 443 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
 #!/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 "Running uprod for $SCRIPTDIR/$SITE"
        cd $SITE && sh bin/uprod.sh --symlink
    fi
done;