diff options
author | David Williams | 2013-11-17 20:26:57 +0000 |
---|---|---|
committer | David Williams | 2013-11-17 20:26:57 +0000 |
commit | ed4ea32ac5db38d8236df996f4addecea3841c30 (patch) | |
tree | c074d09f0392849efb57550963a6faa2a5bd257b /production/getEBuilderForDropDir.sh | |
parent | d042619532ed898145f253f0ab0a7be8dff702ce (diff) | |
download | eclipse.platform.releng.aggregator-ed4ea32ac5db38d8236df996f4addecea3841c30.tar.gz eclipse.platform.releng.aggregator-ed4ea32ac5db38d8236df996f4addecea3841c30.tar.xz eclipse.platform.releng.aggregator-ed4ea32ac5db38d8236df996f4addecea3841c30.zip |
[releng] minor fix for file permissions for later cleanup
Diffstat (limited to 'production/getEBuilderForDropDir.sh')
-rwxr-xr-x | production/getEBuilderForDropDir.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/production/getEBuilderForDropDir.sh b/production/getEBuilderForDropDir.sh index 11f77b8b0..2e216dbc1 100755 --- a/production/getEBuilderForDropDir.sh +++ b/production/getEBuilderForDropDir.sh @@ -33,6 +33,10 @@ if [[ ! -d ${BUILD_DIR}/${EBUILDER} ]] then # Not sure 'REPO_AND_ACCESS' is defined in all possible scenerios, so we'll provide a default. # It is in main scenerios, but not sure about things like "re-running unit tests at a later time". + # If directory doesn't exist yet, create it first, so we can assign proper access + # permissions for later "clean up" routines. + mkdir -p "${BUILD_DIR}/${EBUILDER}" + chmod -c g+ws "${BUILD_DIR}/${EBUILDER}" git clone ${REPO_AND_ACCESS:-git://git.eclipse.org/gitroot}/platform/${EBUILDER} ${BUILD_DIR}/${EBUILDER} RC=$? if [[ $RC != 0 ]] |