#!/bin/sh # Convert the batch files to dos format cd $BUILD_LOCATION/$NAME~$VERSION/$NAME find . -name "*.bat" | xargs unix2dos rsh $BUILD_CLIENT "cd /d c:\\ccm_wa\\security\\$NAME~$VERSION\\$NAME && config\\build.cmd" # Doesn't work because this project uses the P: drive... #ssh $BUILD_CLIENT "cmd /c 'cd /d d:\\$VERSION\\$PROJECT_NAME~$VERSION\\$PROJECT_NAME && config\\build.cmd'"