Add a end-of-line at the end of the "VERSION" file.

This commit is contained in:
Laurent Rineau 2008-12-12 14:02:07 +00:00
parent 5d0f4bf5a0
commit a8f81c5e2c
1 changed files with 1 additions and 1 deletions

View File

@ -200,7 +200,7 @@ sub create_version_file()
# Create VERSION file
chdir "$RELEASEDIR/$VERSION" or die;
open(TEMPFILE, ">tempfile") or die;
print TEMPFILE "$newver";
print TEMPFILE "$newver\n";
close TEMPFILE || die "Error closing temporary file: $!\n";
move("tempfile", 'VERSION');