Skip to content

Commit

Permalink
Fixed accessing git if not a git repository.
Browse files Browse the repository at this point in the history
  • Loading branch information
brixen committed Oct 16, 2013
1 parent eefb33f commit 366236b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions configure
Expand Up @@ -1649,7 +1649,7 @@ int main() { return tgetnum(""); }
:patch_version => @patch_version,
:libversion => @libversion,
:release_date => @release_date || default_release_date,
:revision => read_revision,
:revision => build_revision,
:config_version => @config_version,
:windows => @windows,
:darwin => @darwin,
Expand Down Expand Up @@ -1747,7 +1747,7 @@ int main() { return tgetnum(""); }

# Write release and version header files.
record_revision
write_release @vm_release_h, version, @release_date, read_revision
write_release @vm_release_h, version, @release_date, build_revision

# Write the rubinius-specific C-API config headers.
vm_capi_header_gen = "#{@capi_includedir}/gen"
Expand Down

0 comments on commit 366236b

Please sign in to comment.