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
Fix jenkins-init scripts dir
[releng/global-jjb.git]
/
shell
/
package-listing.sh
diff --git
a/shell/package-listing.sh
b/shell/package-listing.sh
index
b2afe33
..
82ee902
100644
(file)
--- a/
shell/package-listing.sh
+++ b/
shell/package-listing.sh
@@
-49,7
+49,8
@@
esac
if ( [ -f "${START_PACKAGES}" ] && [ -f "${END_PACKAGES}" ] )
then
if ( [ -f "${START_PACKAGES}" ] && [ -f "${END_PACKAGES}" ] )
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