mirror of
https://github.com/koalaman/shellcheck
synced 2025-07-06 04:51:37 -07:00
Let distrotest fail fast when there remaining executables
This commit is contained in:
parent
7cfcf6db8a
commit
ae199edb68
1 changed files with 7 additions and 0 deletions
|
@ -25,6 +25,13 @@ exit 0
|
|||
echo "Deleting 'dist' and 'dist-newstyle'..."
|
||||
rm -rf dist dist-newstyle
|
||||
|
||||
execs=$(find . -name shellcheck)
|
||||
|
||||
if [ -n "$execs" ]
|
||||
then
|
||||
die "Found unexpected executables. Remove and try again: $execs"
|
||||
fi
|
||||
|
||||
log=$(mktemp) || die "Can't create temp file"
|
||||
date >> "$log" || die "Can't write to log"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue