diff options
author | beber <beber> | 2006-01-17 10:09:19 +0000 |
---|---|---|
committer | beber <beber> | 2006-01-17 10:09:19 +0000 |
commit | dba109d19ffcd50810bd04239255954813884365 (patch) | |
tree | f49caff5727d72ff9f668f6d780b726791cc807c /sh/eci.sh | |
parent | ident (diff) | |
download | espik-dba109d19ffcd50810bd04239255954813884365.tar.xz |
Better Changelog
Be move beautiful
Diffstat (limited to 'sh/eci.sh')
-rw-r--r-- | sh/eci.sh | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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 |