mirror of
https://github.com/trufflesecurity/trufflehog.git
synced 2024-11-10 15:14:38 +00:00
477e2a1332
* Update entrypoint. * update comment. * Call each extra arg on its own. * Update loop. * Update extra args. * Use miccah's magic script. * Fix path to bash. * update entrypoint. * Add bash to Dockerfile. * update goreleaser dockerfile.
6 lines
No EOL
209 B
Bash
Executable file
6 lines
No EOL
209 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[@]}" |