#!/bin/bash # This script copies all source code files from a geniusweb project # into the local directories. # This script must be run from the geniuswebtranslator root directory. # The geniusweb project must be checked out at the prpoer version # and the source directory must have been set properly # Set this to the actual name you checked out GeniusWeb. GENIUSWEB_SOURCE_DIR="/documents/UtilitiesNew/PrivateGeniusWeb" copyPackage() { src=${GENIUSWEB_SOURCE_DIR}'/'${1}'/' target='geniusweb/' rsync --recursive -v $src'src/' $target'/src/' } copyPackage "bidspace" copyPackage "boa" copyPackage "events" copyPackage "exampleparties/randomparty" copyPackage "exampleparties/timedependentparty" copyPackage "exampleparties/conceder" copyPackage "ip" copyPackage "issuevalue" copyPackage "opponentmodel" copyPackage "party" copyPackage "profile" copyPackage "profileconnection" copyPackage "progress" copyPackage "protocol" copyPackage "references" copyPackage "voting"