Skip to content

Commit 9e4a126

Browse files
committed
Fix minor --tarp bug.
1 parent ec092f6 commit 9e4a126

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

build.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@ process.argv.forEach(arg => {
137137
break;
138138
case '-i':
139139
interactive = doStdDeploy = doDedicated = true;
140+
onlyOnRaspberryPi.push(arg);
140141
delete process.env.SHLVL;
141142
break;
142143
case '--launch':
@@ -205,7 +206,7 @@ if (treatAsRaspberryPi) {
205206
const oldSettings: Record<string, string> = {};
206207

207208
lines.forEach(line => {
208-
const $ = /^\s*(\w+)\s*=\s*(\S+)/.exec(line);
209+
const $ = /^\s*(\w+?)\s*=\s*(\S+)/.exec(line);
209210

210211
if ($)
211212
oldSettings[$[1]] = settings[$[1]] = $[2];

0 commit comments

Comments
 (0)