mirror of
https://github.com/trufflesecurity/trufflehog.git
synced 2024-11-14 08:57:40 +00:00
4d46c9a9dc
* revert to original entrypoint config * remove explicit output definition
6 lines
211 B
Bash
Executable file
6 lines
211 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
# Parse the last argument into an array of extra_args.
|
|
mapfile -t extra_args < <(bash -c "for arg in ${*: -1}; do echo \$arg; done")
|
|
|
|
/usr/bin/trufflehog "${@: 1: $#-1}" "${extra_args[@]}"
|