aboutsummaryrefslogtreecommitdiff
path: root/sh
diff options
context:
space:
mode:
Diffstat (limited to 'sh')
-rw-r--r--sh/eci.sh12
1 files changed, 6 insertions, 6 deletions
diff --git a/sh/eci.sh b/sh/eci.sh
index bd903ad..88d87a4 100644
--- a/sh/eci.sh
+++ b/sh/eci.sh
@@ -50,12 +50,12 @@ DELCOMMENTFROM=$(grep -n -- '--This line and thoses under will be ignored--' ${T
head -n $(($DELCOMMENTFROM-1)) ${TMPFILE} > ${TMPFILE}.send
SVN_ST=$(svn st | grep -v '^?')
-ADDED_FILES=$(echo ${SVN_ST} | grep '^A' | awk '{print "+"$2}')
-ADDED_FILES=${ADDED_FILES:+\\t${ADDED_FILES}\\n}
-MODIFIED_FILES=$(echo ${SVN_ST} | grep '^M' | awk '{print " "$2}')
-MODIFIED_FILES=${MODIFIED_FILES:+\\t${MODIFIED_FILES}\\n}
-DELETED_FILES=$(echo ${SVN_ST} | grep '^D' | awk '{print "-"$2}')
-DELETED_FILES=${DELETED_FILES:+\\t${DELETED_FILES}\\n}
+ADDED_FILES=$(echo ${SVN_ST} | grep '^A' | awk '{print "+"$2}' | tr -d '\n')
+#ADDED_FILES=${ADDED_FILES:+\\t${ADDED_FILES}\\n}
+MODIFIED_FILES=$(echo ${SVN_ST} | grep '^M' | awk '{print " "$2}' | tr -d '\n')
+#MODIFIED_FILES=${MODIFIED_FILES:+\\t${MODIFIED_FILES}\\n}
+DELETED_FILES=$(echo ${SVN_ST} | grep '^D' | awk '{print "-"$2}' | tr -d '\n')
+#DELETED_FILES=${DELETED_FILES:+\\t${DELETED_FILES}\\n}
echo -e "$(date "+%d/%m/%y %X") - from $(whoami)@$(if [ `uname -o` = "Cygwin" ]; then hostname; else hostname -f; fi)
${ADDED_FILES} ${MODIFIED_FILES} ${DELETED_FILES}