X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/c3e2e6462f293596aef5d5de18b0a173edc046c7..34e3e51456774127d43408b7ab65c24f41373f62:/db/migrate/008_remove_segments.rb diff --git a/db/migrate/008_remove_segments.rb b/db/migrate/008_remove_segments.rb index 0c68ce050..a72859ae8 100644 --- a/db/migrate/008_remove_segments.rb +++ b/db/migrate/008_remove_segments.rb @@ -9,7 +9,7 @@ class RemoveSegments < ActiveRecord::Migration cmd = "db/migrate/008_remove_segments_helper" src = "#{cmd}.cc" - if not File.exists? cmd or File.mtime(cmd) < File.mtime(src) then + if not File.exists? cmd or File.mtime(cmd) < File.mtime(src) then system 'c++ -O3 -Wall `mysql_config --cflags --libs` ' + "#{src} -o #{cmd}" or fail end