mirror of
https://github.com/ben-grande/qusal.git
synced 2024-10-01 02:35:49 -04: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 test "${2-}" = "test"; then
|
||||||
if ! cmp -s "${target}" "${intended_target}"; then
|
if ! cmp -s "${target}" "${intended_target}"; then
|
||||||
echo "error: ${intended_target} is not up to date" >&2
|
echo "error: ${intended_target} is not up to date" >&2
|
||||||
|
diff --color=auto "${intended_target}" "${target}" || true
|
||||||
fail=1
|
fail=1
|
||||||
else
|
else
|
||||||
if test -n "$(git diff --name-only "${intended_target}")"; then
|
if test -n "$(git diff --name-only "${intended_target}")"; then
|
||||||
|
Loading…
Reference in New Issue
Block a user