mirror of
https://github.com/ben-grande/qusal.git
synced 2025-08-02 03:06:12 -04:00
test: show RPM Spec differences on status check
This commit is contained in:
parent
c06e4311f9
commit
0f6aa34a89
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue