Skip to content

Commit a21faea

Browse files
committed
Added missing starting quote when executing the command to get the release date.
1 parent e8ac758 commit a21faea

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/VersionInfo.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ void VersionInfo::setGitRevision()
294294

295295
void VersionInfo::setReleaseDate()
296296
{
297-
_releaseDate=executeCommand(L"cd " + _options.rootDirectory + L"ImageMagick\"" + L" && git log -1 --format=%cd --date=format:%Y-%m-%d");
297+
_releaseDate=executeCommand(L"cd \"" + _options.rootDirectory + L"ImageMagick\"" + L" && git log -1 --format=%cd --date=format:%Y-%m-%d");
298298
if (_releaseDate == L"")
299299
_releaseDate=getFileModificationDate(_options.rootDirectory + L"ImageMagick\\m4\\version.m4",L"%Y-%m-%d");
300300
}

0 commit comments

Comments
 (0)