mirror of
https://github.com/libssh2/libssh2.git
synced 2025-11-17 04:22:32 +03:00
Also: - use more `--` end-of-options markers. - checksrc.sh: use literal quotes. Closes #1739
14 lines
274 B
Bash
Executable File
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 \
|
|
--
|