Skip to content

Commit 4dfc11b

Browse files
committed
.envrc: coreutils compat
avoid this error: ``` mktemp: too few X's in template ‘/tmp/sentry.envrc.42065.out’ ```
1 parent 08d34a6 commit 4dfc11b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.envrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ if [ -n "${SENTRY_DEVENV_NO_REPORT+x}" ]; then
113113
else
114114
# Since direnv traps the EXIT signal we place the temp file under /tmp for the odd time
115115
# the script will use the EXIT path
116-
_SENTRY_LOG_FILE=$(mktemp /tmp/sentry.envrc.$$.out || mktemp /tmp/sentry.envrc.XXXXXXXX.out)
116+
_SENTRY_LOG_FILE=$(mktemp /tmp/sentry.envrc.XXXXXX.$$.out || mktemp /tmp/sentry.envrc.XXXXXXXX.out)
117117
exec > >(tee "$_SENTRY_LOG_FILE")
118118
exec 2>&1
119119
debug "Development errors will be reported to Sentry.io. If you wish to opt-out, set SENTRY_DEVENV_NO_REPORT as an env variable."

0 commit comments

Comments
 (0)