Remove additional error logic from sodiff-check command (#6565)
* remove additional error check logic moved into script * add input redirection --------- Co-authored-by: Sam Meluch <sam.meluch@microsoft.com>
This commit is contained in:
Родитель
49486fdba9
Коммит
5b7c89fb73
|
@ -84,9 +84,5 @@ sodiff-setup:
|
|||
|
||||
sodiff-check: $(BUILT_PACKAGES_FILE) | $(SODIFF_REPO_FILE)
|
||||
<$(BUILT_PACKAGES_FILE) $(SODIFF_SCRIPT) $(RPMS_DIR)/ $(SODIFF_REPO_FILE) $(RELEASE_MAJOR_ID) $(SODIFF_OUTPUT_FOLDER)
|
||||
[ ! -f "$(SODIFF_SUMMARY_FILE)" ] \
|
||||
|| [ "`$(wc -w $(SODIFF_SUMMARY_FILE) | cut -f1 -d' ')`" -eq 0 ] \
|
||||
|| ( echo "SRPM files that need to be updated due to sodiff:"; cat $(SODIFF_OUTPUT_FOLDER)/sodiff-summary.txt ; $(call print_error,$@ failed - see $(SODIFF_SUMMARY_FILE) for a list of failed files.) )
|
||||
echo "SODIFF finished - no changes detected."
|
||||
|
||||
package-toolkit: $(SODIFF_REPO_FILE)
|
||||
|
|
Загрузка…
Ссылка в новой задаче