Skip to content

Commit bdbf453

Browse files
committed
Add linux 64 sed syntax
1 parent e15cf85 commit bdbf453

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

pixi.toml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ python-libarchive-c = "*"
5252
[feature.host.tasks]
5353
setup-wasm = { cmd = "pixi install -e wasm", inputs = ["pixi.lock"] }
5454
build-dist = { cmd = "pixi run build --output-dir dist" }
55-
patch-dist = { cmd = "export FOLDER=$GITHUB_WORKSPACE/dist && pixi run patch"}
55+
patch-dist = { cmd = "export FOLDER=dist && pixi run patch"}
5656

5757
[feature.host.tasks.patch]
5858
depends-on=["patch-roslib", "patch-xpython"]
@@ -64,6 +64,10 @@ depends-on = ["setup-wasm"]
6464
outputs = ["_output"]
6565
inputs = ["pixi.lock", "files/"]
6666

67+
[target.linux-64.tasks.patch-xpython]
68+
cmd = "echo $FOLDER linux-64 && sed -i 's/jsArg.replace(\"\\*\",\"\")/jsArg.replaceAll(\"\\*\",\"\")/g' '$FOLDER/xeus/bin/xpython.js'"
69+
env = {FOLDER = "_output"}
70+
6771
[feature.host.tasks.patch-xpython]
6872
cmd = "echo $FOLDER && sed -i '' 's/jsArg.replace(\"\\*\",\"\")/jsArg.replaceAll(\"\\*\",\"\")/g' $FOLDER/xeus/bin/xpython.js"
6973
env = {FOLDER = "_output"}

0 commit comments

Comments
 (0)