Skip to content

Commit

Permalink
Fixed compilation of separate non-GIT projects
Browse files Browse the repository at this point in the history
  • Loading branch information
Lestropie committed Jan 12, 2014
1 parent 0f8a346 commit 702d49d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build
Original file line number Diff line number Diff line change
Expand Up @@ -710,13 +710,13 @@ getting git version in folder "''' + folder + '"... ')
pass

if verbose:
sys.stderr.write ('not found')
sys.stderr.write ('not found\n')
return None


def update_git_version (folder, git_version_file, macro_name):
git_version = get_git_version (folder)
if len (git_version):
if git_version is not None:
version_file_contents = '#define ' + macro_name + ' "' + git_version + '"\n'
current_version_file_contents = ''
try:
Expand Down

0 comments on commit 702d49d

Please sign in to comment.