Fix error with autotools builds (#9998)

Use Kernel.system
This commit is contained in:
Ed Reel
2024-06-21 04:13:54 -05:00
committed by GitHub
parent 75d49ecd02
commit 35d97e9901
2 changed files with 2 additions and 2 deletions

View File

@@ -19,7 +19,7 @@ class Autotools < Package
end
abort 'configure script not found!'.lightred unless File.file?('configure')
FileUtils.chmod('+x', 'configure')
if system('grep -q /usr/bin/file configure')
if Kernel.system('grep -q /usr/bin/file configure')
puts 'Using filefix.'.orange
system 'filefix'
end