mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-09 15:37:56 -05:00
Use Package.load_package instead of require_relative in package files to avoid global scope conflicts (See #7283, #3150, 3b09159) (#10202)
This commit is contained in:
committed by
GitHub
parent
0f1a3025ae
commit
99ac930743
@@ -1,5 +1,5 @@
|
||||
require 'package'
|
||||
require_relative 'gcc_build'
|
||||
Package.load_package("#{__dir__}/gcc_build.rb")
|
||||
|
||||
class Gcc_dev < Package
|
||||
description 'The GNU Compiler Collection: Everything (excepting libraries aside from libgccjit)'
|
||||
|
||||
Reference in New Issue
Block a user