oops
diff --git a/jenkins.sh b/jenkins.sh
index d74c634..1efe1c2 100755
--- a/jenkins.sh
+++ b/jenkins.sh
@@ -8,8 +8,8 @@
 	f=${1%/} 
 	echo "$f" >> /tmp/copy_reference_file.log
     rel=${f:23}
-    dir=$(dirname ${f}) >> /tmp/copy_reference_file.log
-    echo " $f -> $rel"
+    dir=$(dirname ${f})
+    echo " $f -> $rel" >> /tmp/copy_reference_file.log
 	if [[ ! -e /var/jenkins_home/${rel} ]] 
 	then
 		echo "copy $rel to JENKINS_HOME" >> /tmp/copy_reference_file.log