diff --git a/test/distrotest b/test/distrotest index 53a40a7..4ad66f8 100755 --- a/test/distrotest +++ b/test/distrotest @@ -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"