Skip to content

Commit

Permalink
beesh: avoid wrong diagnostic
Browse files Browse the repository at this point in the history
we may fail to find a free revision number (eg with versionless bee
files) and if so, we want to avoid the error message of beeversion
and a wrong "cp" hint.
  • Loading branch information
donald committed Jul 1, 2016
1 parent 5e76b61 commit efd4c3a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/beesh.sh.in
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@ function check_rebuild() {
echo "${bf}"
done | ${BEESORT} | tail -1)

test -n "${beefile_max}" || exit 1
eval $(${BEEVERSION} ${beefile_max})
print_warning "cp ${beefile} ${PWD}/${PKGFULLNAME}-${PKGFULLVERSION}-$((PKGREVISION + 1)).bee"

Expand Down

0 comments on commit efd4c3a

Please sign in to comment.