aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--ChangeLog5
-rw-r--r--sh/eci.sh12
2 files changed, 7 insertions, 10 deletions
diff --git a/ChangeLog b/ChangeLog
index a1e875d..a4fad81 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+17/01/06 12:11:31 - from cvhj8266@FT-DYOQYGD9HQ8B
+ * test
+
+M sh/eci.sh
+
17/01/06 12:06:20 - from cvhj8266@FT-DYOQYGD9HQ8B
+sh/tot+sh/ode
diff --git a/sh/eci.sh b/sh/eci.sh
index 7f762b9..088fa34 100644
--- a/sh/eci.sh
+++ b/sh/eci.sh
@@ -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)"