aboutsummaryrefslogtreecommitdiff
path: root/sh/eci.sh
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--sh/eci.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/sh/eci.sh b/sh/eci.sh
index 50749ce..cec908c 100644
--- a/sh/eci.sh
+++ b/sh/eci.sh
@@ -49,12 +49,13 @@ fi
DELCOMMENTFROM=$(grep -n -- '--This line and thoses under will be ignored--' $TMPFILE | head -n 1 | cut -d ':' -f 1)
head -n $(($DELCOMMENTFROM-1)) $TMPFILE > ${TMPFILE}.send
-echo "
+echo "$(cat $PROJECT_PATH/ChangeLog)
$(whoami) from $(if [ `uname -o` = "Cygwin" ]; then hostname; else hostname -f; fi) : $(date "+%d/%m/%y %X")
$(cat ${TMPFILE}.send)
File changes :
-$(svn st | grep -v '^?')" >> $PROJECT_PATH/ChangeLog
+$(svn st | grep -v '^?')
+" > $PROJECT_PATH/ChangeLog
svn ci -m "$(cat ${TMPFILE}.send)"