diff --git a/releng.control/promote.sh b/releng.control/promote.sh index f7afbac7ec9f3820bc3c4b5cbb4e98d6a3fcd5e7..2939e878b772bc377b0bfaccc12c916a8b81f606 100755 --- a/releng.control/promote.sh +++ b/releng.control/promote.sh @@ -161,7 +161,7 @@ echo "Drop directory: ${dropDirName}" FROMDIR=${mostRecentDir}/${dropDirName} -if [[ processArtifacts ]] +if [[ $processArtifacts ]] then #run pack200 (and, recompute checksums) before literally promoting @@ -187,7 +187,7 @@ fi # TODO: we currently do not add properties to tests repo ... maybe should? for mirror URL, at least. # TODO: a fourth argument can be specified to provide stats suffix # such as _helios_SR2, _indigo_SR0 ... but, takes some customization updated fairly often, to be accurate. -if [[ addProperties -a \( -d "${repoDirLocation}" \) ]] +if [[ $addProperties -a \( -d "${repoDirLocation}" \) ]] then ${RELENG_CONTROL}/addRepoProperties.sh "${repoDirLocation}" "${buildBranch}" "${dropDirName}" fi