diff --git a/ext/gpgme/extconf.rb b/ext/gpgme/extconf.rb index 6e2de59..88b93f0 100644 --- a/ext/gpgme/extconf.rb +++ b/ext/gpgme/extconf.rb @@ -2,8 +2,8 @@ # Available options: # -# --enable-clean (default) -# --disable-clean +# --enable-clean +# --disable-clean (default) # # This file is largely based on Nokogiri's extconf.rb. @@ -25,12 +25,12 @@ # clean the ports build directory Pathname.glob(pwd.join('tmp', '*', 'ports')) { |dir| - FileUtils.rm_rf(dir, { :verbose => true }) - FileUtils.rmdir(dir.parent, { :parents => true, :verbose => true }) + FileUtils.rm_rf(dir, verbose: true) + FileUtils.rmdir(dir.parent, parents: true, verbose: true) } # ports installation can be safely removed if statically linked. - FileUtils.rm_rf(root + 'ports', { :verbose => true }) + FileUtils.rm_rf(root + 'ports', verbose: true) end exit