diff options
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 |