Skip to content

Commit

Permalink
linux-4.9.68: Improve error message for existing kernel revision
Browse files Browse the repository at this point in the history
Include the names of the conflicting files in the error message.
  • Loading branch information
donald committed Dec 14, 2017
1 parent 24b96ce commit d88738c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions linux-4.9.68-193.bee
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,9 @@ FULLKERNELVERSION="${KERNELVERSION}${KERNELLOCAL}"

B=${S}

ls ${BEE_PKGDIR}/linux-[0-9].[0-9]*-${PKGREVISION}.x86_64.bee.* 2>/dev/null \
&& echo "A kernel with revision ${PKGREVISION} has already been build." && exit
same_revision_files=$(ls ${BEE_PKGDIR}/linux-[0-9].[0-9]*-${PKGREVISION}.x86_64.bee.* 2>/dev/null) \
&& echo "A kernel with revision ${PKGREVISION} has already been build: $same_revision_files" \
&& exit

# aacraid
# https://storage.microsemi.com/en-us/downloads/linux_source/linux_source_code/productid=aha-1000-8e&dn=microsemi+adaptec+hba+1000-8e.php
Expand Down

0 comments on commit d88738c

Please sign in to comment.