| 1 | #!/bin/shscip-shell filesystem . . `/bin/sh`. |
| 2 | # SPDX-License-Identifier: GPL-2.0-only |
| 3 | |
| 4 | # Dummy script that always succeeds. |
| 5 | |
| 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> "$@" |
| 10 | arg_containscip-shell shell linux 7.0.12-2 arg_contain(). () |
| 11 | { |
| 12 | search="$1" |
| 13 | shift |
| 14 | |
| 15 | while [scip-shell system . . `[`. $# -gt 0 ] |
| 16 | do |
| 17 | if [scip-shell system . . `[`. "$search" = "$1" ]; then |
| 18 | return 0 |
| 19 | fi |
| 20 | shift |
| 21 | done |
| 22 | |
| 23 | return 1 |
| 24 | } |
| 25 | |
| 26 | if arg_containscip-shell shell linux 7.0.12-2 arg_contain(). --version "$@" || arg_containscip-shell shell linux 7.0.12-2 arg_contain(). -v "$@"; then |
| 27 | progname=$(basenamescip-shell system . . basename. $0) |
| 28 | echoscip-shell system . . echo. "GNU $progname (scripts/dummy-tools/$progname) 2.50" |
| 29 | exit 0 |
| 30 | fi |