diff options
author | beber <beber> | 2006-01-17 10:21:19 +0000 |
---|---|---|
committer | beber <beber> | 2006-01-17 10:21:19 +0000 |
commit | 9d9d8527fcdd596604aad4a2f1202d0745496990 (patch) | |
tree | 9abf503eb14c272b069fdd23626aae3a63646dc6 /sh/eci.sh | |
parent | and better (diff) | |
download | espik-9d9d8527fcdd596604aad4a2f1202d0745496990.tar.xz |
Maybe this work ?
Diffstat (limited to '')
-rw-r--r-- | sh/eci.sh | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -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/') |