aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbeber <beber>2006-01-17 10:44:21 +0000
committerbeber <beber>2006-01-17 10:44:21 +0000
commit8471e4a9bd1e7b6bda0a616f83dd89e13d7706e0 (patch)
tree38f067da45ba52f53b9222b766a3beb7da833643
parentfuck bash (diff)
downloadespik-8471e4a9bd1e7b6bda0a616f83dd89e13d7706e0.tar.xz
test
-rw-r--r--ChangeLog6
-rw-r--r--sh/eci.sh8
2 files changed, 10 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 3130f33..412648d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+17/01/06 11:43:57 - from cvhj8266@FT-DYOQYGD9HQ8B
+ sh/eci.sh
+
+
+ * test
+
17/01/06 11:38:56 - from cvhj8266@FT-DYOQYGD9HQ8B
+sh/toto sh/eci.sh-sh/toot
diff --git a/sh/eci.sh b/sh/eci.sh
index 747e569..bd903ad 100644
--- a/sh/eci.sh
+++ b/sh/eci.sh
@@ -51,14 +51,14 @@ head -n $(($DELCOMMENTFROM-1)) ${TMPFILE} > ${TMPFILE}.send
SVN_ST=$(svn st | grep -v '^?')
ADDED_FILES=$(echo ${SVN_ST} | grep '^A' | awk '{print "+"$2}')
-echo "ADDED_FILES: $ADDED_FILES"
+ADDED_FILES=${ADDED_FILES:+\\t${ADDED_FILES}\\n}
MODIFIED_FILES=$(echo ${SVN_ST} | grep '^M' | awk '{print " "$2}')
-echo "MODIFIED_FILES: $MODIFIED_FILES"
+MODIFIED_FILES=${MODIFIED_FILES:+\\t${MODIFIED_FILES}\\n}
DELETED_FILES=$(echo ${SVN_ST} | grep '^D' | awk '{print "-"$2}')
-echo "DELETED_FILES: $DELETED_FILES"
+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)
-\t$(for i in ${ADDED_FILES} ${MODIFIED_FILES} ${DELETED_FILES}; do echo -n $i; done && echo)
+${ADDED_FILES} ${MODIFIED_FILES} ${DELETED_FILES}
$(cat ${TMPFILE}.send | sed -r 's/(.*)/\t* \1/g')