Skip to content

Commit

Permalink
Fix shell
Browse files Browse the repository at this point in the history
  • Loading branch information
willnode committed Nov 24, 2024
1 parent 6be8259 commit 0207d3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/executor/runnercode.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export async function runConfigCodeFeatures(key, value, writeLog, domaindata, ss
case 'yum':
case 'dnf':
await writeLog("$> Setting up environment for yum installation");
await sshExec(`sed -i '/~/usr/lib64//d' ~/.bashrc`, false);
await sshExec(`sed -i '\\|~/usr/lib64/|d' ~/.bashrc`, false);
await sshExec(`pathman add ~/usr/bin`);
await sshExec(`echo "export LD_LIBRARY_PATH=~/usr/lib64/:$LD_LIBRARY_PATH" >> ~/.bashrc`)
if (value != "") {
Expand Down

0 comments on commit 0207d3c

Please sign in to comment.