Skip to content

Commit ef50bf2

Browse files
committed
Pass through TERM to build and test
ffmpeg configure has warnings as a result and passing it through seems most sensible TBH
1 parent c4510ea commit ef50bf2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

build/build.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ for (const key of [
106106
'HOME',
107107
'PKGX_PANTRY_PATH', // otherwise we cannot build against the user’s pantry
108108
'GITHUB_TOKEN', // pass through for `gh` and that sort of thing
109-
'LANG', 'LOGNAME', 'USER' // prevent POSIX tools from breaking
109+
'LANG', 'LOGNAME', 'USER', 'TERM' // prevent POSIX tools from breaking
110110
]) {
111111
const value = Deno.env.get(key)
112112
if (value) env[key] = value

test/test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ const env: Record<string, string> = {
9090
PATH: '/usr/bin:/bin:/usr/sbin:/sbin',
9191
PKGX_DIR: useConfig().prefix.string
9292
}
93-
for (const key of ['HOME', 'PKGX_PANTRY_PATH', 'GITHUB_TOKEN', 'LANG', 'LOGNAME', 'USER']) {
93+
for (const key of ['HOME', 'PKGX_PANTRY_PATH', 'GITHUB_TOKEN', 'LANG', 'LOGNAME', 'USER', 'TERM']) {
9494
const value = Deno.env.get(key)
9595
if (value) env[key] = value
9696
}

0 commit comments

Comments
 (0)