aboutsummaryrefslogtreecommitdiff
path: root/sh/eci.sh
diff options
context:
space:
mode:
authorbeber <beber>2006-01-17 10:09:19 +0000
committerbeber <beber>2006-01-17 10:09:19 +0000
commitdba109d19ffcd50810bd04239255954813884365 (patch)
treef49caff5727d72ff9f668f6d780b726791cc807c /sh/eci.sh
parentident (diff)
downloadespik-dba109d19ffcd50810bd04239255954813884365.tar.xz
Better Changelog
Be move beautiful
Diffstat (limited to 'sh/eci.sh')
-rw-r--r--sh/eci.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/sh/eci.sh b/sh/eci.sh
index 4fc9428..fef78b6 100644
--- a/sh/eci.sh
+++ b/sh/eci.sh
@@ -2,7 +2,7 @@
PROJECT_PATH="$HOME/dev/espik"
-TMPFILE="/tmp/.eci.$RANDOM"
+TMPFILE="/tmp/.eci-$RANDOM"
if [ ! -e $PROJECT_PATH ]; then
echo "PROJECT_PATH defined ($PROJECT_PATH) doesn't exist"
@@ -49,11 +49,11 @@ 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 "$(whoami) from $(if [ `uname -o` = "Cygwin" ]; then hostname; else hostname -f; fi) : $(date "+%d/%m/%y %X")
-$(cat ${TMPFILE}.send)
+echo "$(date "+%d/%m/%y %X") - from $(whoami)@$(if [ `uname -o` = "Cygwin" ]; then hostname; else hostname -f; fi)
+$(cat ${TMPFILE}.send | sed -r 's/(.*)/\t* \1/')
-File changes :
-$(svn st | grep -v '^?')
+\tFile changes :
+$(svn st | grep -v '^?' | sed -r 's/(.*)/\t\1/')
$(cat $PROJECT_PATH/ChangeLog)" > $PROJECT_PATH/ChangeLog