aboutsummaryrefslogtreecommitdiff
path: root/sh/eci.sh
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--sh/eci.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/sh/eci.sh b/sh/eci.sh
index cec908c..6a8471a 100644
--- a/sh/eci.sh
+++ b/sh/eci.sh
@@ -49,13 +49,12 @@ 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 "$(cat $PROJECT_PATH/ChangeLog)
-$(whoami) from $(if [ `uname -o` = "Cygwin" ]; then hostname; else hostname -f; fi) : $(date "+%d/%m/%y %X")
+echo "$(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
+$(cat $PROJECT_PATH/ChangeLog)" > $PROJECT_PATH/ChangeLog
svn ci -m "$(cat ${TMPFILE}.send)"