fix for busybox mktemp (#480)

* fix for busybox mktemp, issue #475
pull/481/head^2
Josh Rabinowitz 5 years ago committed by GitHub
parent 10fa2a7be2
commit f2c398f037
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -15,6 +15,7 @@
### Bugfixes
- Fix git-secret init when used on busybox (#475)
- Update git-secret.io, fix utils/gh-branch.sh to use 'git all --add' (#344)
- Fix link to homebrew's git-secret in README.md (#310)
- Remove diagnostic output from test results (#324)

@ -23,7 +23,7 @@ function __temp_file_linux {
# relative to a directory: $TMPDIR, if set; else the directory
# specified via -p; else /tmp [deprecated]
filename=$(mktemp -p "${TMPDIR}" _git_secret.XXXXX )
filename=$(mktemp -p "${TMPDIR}" _git_secret.XXXXXX )
# makes a filename like /$TMPDIR/_git_secret.ONIHo
echo "$filename"
}

Loading…
Cancel
Save