awips2/rpms/build/release/prepareWorkspace.sh
Steve Harris e720b8ed31 12.10.1-1 baseline
Former-commit-id: 0abf64b77c [formerly 195158c004] [formerly d708932029 [formerly 7d17407c5b0a4a3f9b4b083891a5a5975c645810]]
Former-commit-id: d708932029
Former-commit-id: 7bd9c63dc7
2012-09-04 12:07:27 -05:00

20 lines
715 B
Bash

#!/bin/bash
# Next, we need to prepare our workspace because Hudson does not have 'export' capability.
echo "INFO: Begin - Preparing Workspace"
# Remove all SVN metadata.
find ./ -name .svn -exec rm -rf {} \;
# There are a few projects we need to move around. We want all of the individual cave,
# cots, edexOsgi, nativeLib, and RadarServer projects in our workspace.
PROJECT_LIST=( 'cave' 'cots' 'edexOsgi' 'nativeLib' 'RadarServer' 'ncep' 'localization' )
for project in ${PROJECT_LIST[*]};
do
# Move the individual projects out of the project directory into the workspace.
mv ${project}/* .
# Remove the empty project directory.
rm -rf ${project}
done
echo "INFO: Finished - Preparing Workspace"