mirror of
https://github.com/ben-grande/qusal.git
synced 2025-05-02 22:34:53 -04:00
test
This commit is contained in:
parent
64ed44d4d5
commit
9d3111f1fa
562 changed files with 4944 additions and 1211 deletions
|
@ -1,4 +1,11 @@
|
|||
#!/bin/sh
|
||||
|
||||
## SPDX-FileCopyrightText: 2023 Qusal contributors
|
||||
##
|
||||
## SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
## Credits: https://unix.stackexchange.com/a/483876
|
||||
|
||||
# shellcheck disable=SC2086
|
||||
set -eu
|
||||
|
||||
|
@ -28,7 +35,6 @@ case "${find_tool}" in
|
|||
files="${files} $(${find_tool} . --max-depth=1 --type=f --extension=sh)"
|
||||
;;
|
||||
find)
|
||||
## https://unix.stackexchange.com/a/483876
|
||||
files="$(find "${group}"/ -not \( -path "*/zsh" -prune \) -type f -exec sh -c '
|
||||
case $( file -bi "$1" ) in (*/x-shellscript*) exit 0;; esac
|
||||
exit 1' sh {} \; -print)"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue