mirror of
https://github.com/ben-grande/qusal.git
synced 2024-12-23 14:39:23 -05:00
test: show RPM Spec differences on status check
This commit is contained in:
parent
c06e4311f9
commit
0f6aa34a89
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user