2 # SPDX-License-Identifier: GPL-2.0-only
4 # Dummy script that always succeeds.
6 # Check if the first parameter appears in the rest. Succeeds if found.
7 # This helper is useful if a particular option was passed to this script.
8 # Typically used like this:
9 # arg_contain <word-you-are-searching-for> "$@"
17 if [ "$search" = "$1" ]; then
26 if arg_contain --version "$@" || arg_contain -v "$@"; then
27 progname=$(basename $0)
28 echo "GNU $progname (scripts/dummy-tools/$progname) 2.50"