X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=shell%2Fpackage-listing.sh;h=b2afe33a4105ea758a4172cc63828ad2d196ea00;hb=7255eaaa4f73e7867f0a64199b5b45cb92e8fbfc;hp=266dbbe7e6bd54ff326210e0c54f0e3adc1d543a;hpb=a57c991b2313e959dc3269199749a36cde5e8407;p=releng%2Fglobal-jjb.git diff --git a/shell/package-listing.sh b/shell/package-listing.sh index 266dbbe7..b2afe33a 100644 --- a/shell/package-listing.sh +++ b/shell/package-listing.sh @@ -47,7 +47,7 @@ case "${OS_FAMILY}" in ;; esac -if [ -f "${START_PACKAGES}" ] +if ( [ -f "${START_PACKAGES}" ] && [ -f "${END_PACKAGES}" ] ) then diff "${START_PACKAGES}" "${END_PACKAGES}" > "${DIFF_PACKAGES}" fi