From 2cf0ac9ed5c429aa61c2bbf52eab5be70d2b8f14 Mon Sep 17 00:00:00 2001 From: lionellloh Date: Thu, 25 Jun 2020 20:34:06 +0800 Subject: [PATCH] update-spdx-data: use a more specific file path --- Library/Homebrew/dev-cmd/update-license-data.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/dev-cmd/update-license-data.rb b/Library/Homebrew/dev-cmd/update-license-data.rb index a785db12ba..c118c1c5ce 100644 --- a/Library/Homebrew/dev-cmd/update-license-data.rb +++ b/Library/Homebrew/dev-cmd/update-license-data.rb @@ -40,6 +40,6 @@ module Homebrew return unless args.fail_if_changed? Homebrew.failed = true - system("git diff --stat --exit-code #{FILE_NAME}") + system("git diff --stat --exit-code #{SPDX_FOLDER_PATH/FILE_NAME}") end end