improve promote script
diff --git a/releng.control/ant.sh b/releng.control/ant.sh
index 7068df4..f1cd3d3 100644
--- a/releng.control/ant.sh
+++ b/releng.control/ant.sh
@@ -5,8 +5,13 @@
 # commonComputedVariables means we expect to execute only our
 # version
 
-if [ -n $BUILD_INITIALIZED ]
+if [ -z $BUILD_INITIALIZED ]
 then
+# if releng_control not set, we assume we are already in releng_control directory
+   if [ -z $RELENG_CONTROL ] 
+   then 
+        RELENG_CONROL=`pwd`
+   fi   
    pushd .
    cd ${RELENG_CONTROL}
    source commonVariations.shsource