cleanup and fixes
diff --git a/plugins/org.eclipse.wtp.releng.utilities/copyAndRemove.sh b/plugins/org.eclipse.wtp.releng.utilities/copyAndRemove.sh
index 0414801..d2df0cb 100755
--- a/plugins/org.eclipse.wtp.releng.utilities/copyAndRemove.sh
+++ b/plugins/org.eclipse.wtp.releng.utilities/copyAndRemove.sh
@@ -24,8 +24,8 @@
 copyAndRemoveModule () {
 
 
-oldBaseDir=$[1}
-newBaseDir=$[2}
+oldBaseDir=${1}
+newBaseDir=${2}
 wtpmodule=${3}
 
 oldDir=${oldBaseDir}/${wtpmodule}