aboutsummaryrefslogtreecommitdiff
path: root/sh/eci.sh
diff options
context:
space:
mode:
authorbeber <beber>2006-01-17 10:21:19 +0000
committerbeber <beber>2006-01-17 10:21:19 +0000
commit9d9d8527fcdd596604aad4a2f1202d0745496990 (patch)
tree9abf503eb14c272b069fdd23626aae3a63646dc6 /sh/eci.sh
parentand better (diff)
downloadespik-9d9d8527fcdd596604aad4a2f1202d0745496990.tar.xz
Maybe this work ?
Diffstat (limited to '')
-rw-r--r--sh/eci.sh6
1 files changed, 2 insertions, 4 deletions
diff --git a/sh/eci.sh b/sh/eci.sh
index bc3a10f..1cb959b 100644
--- a/sh/eci.sh
+++ b/sh/eci.sh
@@ -51,13 +51,11 @@ head -n $(($DELCOMMENTFROM-1)) $TMPFILE > ${TMPFILE}.send
SVN_ST=$(svn st | grep -v '^?')
ADDED_FILES=$(echo $SVN_ST | grep '^A' | awk '{print "+"$2}' | tr -d '\n')
-MODIFIED_FILES=$(echo $SVN_ST | grep '^M' | awk '{print $2}' | tr -d '\n')
+MODIFIED_FILES=$(echo $SVN_ST | grep '^M' | awk '{print " "$2}' | tr -d '\n')
DELETED_FILES=$(echo $SVN_ST | grep '^D' | awk '{print "-"$2}' | tr -d '\n')
echo -e "$(date "+%d/%m/%y %X") - from $(whoami)@$(if [ `uname -o` = "Cygwin" ]; then hostname; else hostname -f; fi)
-\t${ADDED_FILES}
-\t${MODIFIED_FILES}
-\t${DELETED_FILES}
+\t${ADDED_FILES} ${MODIFIED_FILES} ${DELETED_FILES}
$(cat ${TMPFILE}.send | sed -r 's/(.*)/\t* \1/')