diff options
Diffstat (limited to 'contrib')
-rwxr-xr-x | contrib/scripts/gnunet-bugreport | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/contrib/scripts/gnunet-bugreport b/contrib/scripts/gnunet-bugreport index aaba45252..203981ad5 100755 --- a/contrib/scripts/gnunet-bugreport +++ b/contrib/scripts/gnunet-bugreport | |||
@@ -1,10 +1,12 @@ | |||
1 | #!/usr/bin/env sh | 1 | #!/usr/bin/env sh |
2 | 2 | # | |
3 | # Caveats: | 3 | # Caveats: |
4 | # - checks with textprocessing assuming that system language is English. | 4 | # - checks with textprocessing assuming that system language is English. |
5 | # - maybe check last return status instead? | 5 | # - maybe check last return status instead? |
6 | # - Do we need to set awk to which awk becomes available or is awk | 6 | # - Do we need to set awk to which awk becomes available or is awk |
7 | # always available as just awk? | 7 | # always available as just awk? |
8 | # | ||
9 | # SPDX-License-Identifier: 0BSD | ||
8 | 10 | ||
9 | progname=${0##*/} | 11 | progname=${0##*/} |
10 | 12 | ||
@@ -35,7 +37,7 @@ linemsg() | |||
35 | 37 | ||
36 | errmsg='' | 38 | errmsg='' |
37 | 39 | ||
38 | # Check if shell support builtin 'type'. | 40 | # Check if shell supports builtin 'type'. |
39 | if test -z "$errmsg"; then | 41 | if test -z "$errmsg"; then |
40 | if ! (eval 'type type') >/dev/null 2>&1 | 42 | if ! (eval 'type type') >/dev/null 2>&1 |
41 | then | 43 | then |