Marcel Telka
2023-10-27 51d67b6f18435646e5894d671043a70395a7248f
tools/python-integrate-project: refresh-patches failure is not fatal

1 files modified
8 ■■■■ changed files
tools/python-integrate-project 8 ●●●● patch | view | raw | blame | history
tools/python-integrate-project
@@ -262,8 +262,12 @@
! $GMAKE patch > /dev/null 2>&1 && printf "FATAL: 'gmake patch' failed!\n" >&2 && exit 1
# Refresh patches
! $GMAKE refresh-patches > /dev/null 2>&1 && printf "FATAL: 'gmake refresh-patches' failed!\n" >&2 && exit 1
git add patches 2>/dev/null
if $GMAKE refresh-patches > /dev/null 2>&1 ; then
    git add patches 2>/dev/null
else
    printf "ERROR: 'gmake refresh-patches' failed!\n" >&2
    git checkout patches 2>/dev/null
fi
# Cleanup after patch refresh
$GMAKE clobber > /dev/null 2>&1