diff options
author | beber <beber> | 2006-01-17 11:11:52 +0000 |
---|---|---|
committer | beber <beber> | 2006-01-17 11:11:52 +0000 |
commit | bc4443a211c3b35df4ce84240c76ecc0f9959251 (patch) | |
tree | 3ffcdee51fefa8a2fe11752b400d9f434eb50eff /sh | |
parent | test (diff) | |
download | espik-bc4443a211c3b35df4ce84240c76ecc0f9959251.tar.xz |
test
Diffstat (limited to 'sh')
-rw-r--r-- | sh/eci.sh | 12 |
1 files changed, 2 insertions, 10 deletions
@@ -49,19 +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 -SVN_ST=$(svn st | grep -v '^?') -ADDED_FILES=$(echo ${SVN_ST} | grep '^A' | awk '{print "+"$2}' | tr -d '\n') -#ADDED_FILES=${ADDED_FILES:+\\t${ADDED_FILES}\\n} -MODIFIED_FILES=$(echo ${SVN_ST} | grep '^M' | awk '{print " "$2}' | tr -d '\n') -#MODIFIED_FILES=${MODIFIED_FILES:+\\t${MODIFIED_FILES}\\n} -DELETED_FILES=$(echo ${SVN_ST} | grep '^D' | awk '{print "-"$2}' | tr -d '\n') -#DELETED_FILES=${DELETED_FILES:+\\t${DELETED_FILES}\\n} - echo -e "$(date "+%d/%m/%y %X") - from $(whoami)@$(if [ `uname -o` = "Cygwin" ]; then hostname; else hostname -f; fi) -$(if [ ! -z "${ADDED_FILES}" ]; then echo -e "\t${ADDED_FILES}\n"; fi; if [ ! -z "${MODIFIED_FILES}" ]; then echo -e "\t${MODIFIED_FILES}\n"; fi ;if [ ! -z "${DELETED_FILES}" ]; then echo -e "\t${DELETED_FILES}\n"; fi) - $(cat ${TMPFILE}.send | sed -r 's/(.*)/\t* \1/g') +$(svn st | grep -v '^?') + $(cat ${PROJECT_PATH}/ChangeLog)" > ${PROJECT_PATH}/ChangeLog svn ci -m "$(cat ${TMPFILE}.send)" |