Skip to content

Commit

Permalink
test: show RPM Spec differences on status check
Browse files Browse the repository at this point in the history
  • Loading branch information
ben-grande committed Jul 8, 2024
1 parent c06e431 commit 0f6aa34
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/spec-gen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ gen_spec(){
if test "${2-}" = "test"; then
if ! cmp -s "${target}" "${intended_target}"; then
echo "error: ${intended_target} is not up to date" >&2
diff --color=auto "${intended_target}" "${target}" || true
fail=1
else
if test -n "$(git diff --name-only "${intended_target}")"; then
Expand Down

0 comments on commit 0f6aa34

Please sign in to comment.