minor cleanup
diff --git a/releng.control/cleanupArtifacts.sh b/releng.control/cleanupArtifacts.sh
index 0981230..d3c7062 100644
--- a/releng.control/cleanupArtifacts.sh
+++ b/releng.control/cleanupArtifacts.sh
@@ -7,7 +7,7 @@
if [ -z $BUILD_INITIALIZED ]
then
source commonVariations.shsource
- source ${BUILD_HOME}/releng.control/commonComputedVariables.shsource
+ source ${RELENG_CONTROL}/commonComputedVariables.shsource
fi
# remove artifacts over n days old
@@ -32,7 +32,7 @@
# empty directories often result from "bad builds". We remove those no matter how old
find ${artifactsDir} -mindepth 2 -maxdepth 3 -type d -empty -exec rm -fr '{}' \;
# now remove old ones
-find ${artifactsDir} -mindepth 2 -maxdepth 2 -ctime +$ndays -execdir ${BUILD_HOME}/releng.control/removeIf.sh '{}' \;
+find ${artifactsDir} -mindepth 2 -maxdepth 2 -ctime +$ndays -execdir ${RELENG_CONTROL}/removeIf.sh '{}' \;
after=`find ${artifactsDir} -mindepth 2 -maxdepth 2 | wc -l`;
echo " number of directories after cleaning: ${after}";