diff options
author | shuai.fu <shuai01.fu@samsung.com> | 2017-04-22 13:43:02 +0800 |
---|---|---|
committer | shuai.fu <shuai01.fu@samsung.com> | 2017-04-22 13:44:05 +0800 |
commit | 794c348d0165d1406fd603d958bcbfc1fe62fa49 (patch) | |
tree | 7a54881bcad7dcc862eec79ada03b9e3500909c0 /vc | |
parent | e3da5fcdb300a12c57e4b0828f9fcc50140f48fd (diff) | |
download | build-794c348d0165d1406fd603d958bcbfc1fe62fa49.tar.gz build-794c348d0165d1406fd603d958bcbfc1fe62fa49.tar.bz2 build-794c348d0165d1406fd603d958bcbfc1fe62fa49.zip |
Update to upstream 20160629
Change-Id: Idc31c269aec94e852b30885dee65a827b318b7a3
Signed-off-by: shuai.fu <shuai01.fu@samsung.com>
Diffstat (limited to 'vc')
-rwxr-xr-x | vc | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -106,6 +106,7 @@ if [ -z "$changelog" ]; then fi if [ ! -e "$changelog" ]; then + created_new_changelog=true touch $changelog fi @@ -144,6 +145,9 @@ if [ -z "$message" ]; then set -- `md5sum "$tmpfile"` if [ -z "$content" -a "$chksum" == "$1" ]; then echo "no changes made" + if [ "$created_new_changelog" = true ]; then + rm -f "$changelog" + fi exit 0 fi fi |