Code Review
/
releng
/
global-jjb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Bump lftools version to v0.18.0
[releng/global-jjb.git]
/
shell
/
package-listing.sh
diff --git
a/shell/package-listing.sh
b/shell/package-listing.sh
index
266dbbe
..
82ee902
100644
(file)
--- a/
shell/package-listing.sh
+++ b/
shell/package-listing.sh
@@
-47,9
+47,10
@@
case "${OS_FAMILY}" in
;;
esac
;;
esac
-if
[ -f "${START_PACKAGES}" ]
+if
( [ -f "${START_PACKAGES}" ] && [ -f "${END_PACKAGES}" ] )
then
then
- diff "${START_PACKAGES}" "${END_PACKAGES}" > "${DIFF_PACKAGES}"
+ # ` || true` Ignore exit code because diff exits 1 when there is a diff
+ diff "${START_PACKAGES}" "${END_PACKAGES}" > "${DIFF_PACKAGES}" || true
fi
# If running in a Jenkins job, then copy the created files to the archives
fi
# If running in a Jenkins job, then copy the created files to the archives