diff options
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | sh/eci.sh | 10 |
2 files changed, 12 insertions, 5 deletions
@@ -1,3 +1,10 @@ +17/01/06 11:08:50 - from cvhj8266@FT-DYOQYGD9HQ8B + * Better Changelog + * Be move beautiful + +\tFile changes : + M sh/eci.sh + beber from elaine.melee : 09/12/05 21:57:11 iadd a macro for ecore involv in espik debug marcro @@ -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 |