From 6d540ce6344a8bb59863d43a32a256e33f61f244 Mon Sep 17 00:00:00 2001 From: david_williams <david_williams> Date: Tue, 15 Feb 2011 05:30:47 +0000 Subject: [PATCH] add pack200 to promote script --- releng.control/promote.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/releng.control/promote.sh b/releng.control/promote.sh index f7afbac7e..2939e878b 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 -- GitLab