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 15, 2017
1 parent 4f64e4e commit a30096f
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

mee_patch() {
echo "PATCH $@"
Expand Down

0 comments on commit a30096f

Please sign in to comment.