1
0
mirror of https://github.com/libssh2/libssh2.git synced 2026-10-24 03:48:58 +03:00
Files
libssh2/scripts/shellcheck.sh
Viktor Szakats 317907545b tidy-up: rename ci directory to scripts
To reduce differences with curl.

Also:
- add most scripts to the source distro tarball. Some were referenced
  by build scripts (e.g. `checksrc`).

Closes #1870
2026-04-23 09:09:59 +02:00

14 lines
274 B
Bash
Executable File

#!/bin/sh
# Copyright (C) Viktor Szakats
#
# SPDX-License-Identifier: curl
set -eu
cd "$(dirname "$0")"/..
git grep -z -l -E '^#!(/usr/bin/env bash|/bin/sh|/bin/bash)' | xargs -0 -r \
shellcheck --exclude=1091 \
--enable=avoid-nullary-conditions,deprecate-which \
--