update-spdx-data: use a more specific file path

This commit is contained in:
lionellloh 2020-06-25 20:34:06 +08:00
parent 77a8ff51da
commit 2cf0ac9ed5

View File

@ -40,6 +40,6 @@ module Homebrew
return unless args.fail_if_changed? return unless args.fail_if_changed?
Homebrew.failed = true Homebrew.failed = true
system("git diff --stat --exit-code #{FILE_NAME}") system("git diff --stat --exit-code #{SPDX_FOLDER_PATH/FILE_NAME}")
end end
end end