mirror of https://github.com/pyodide/pyodide.git
Use bash instead of dash shell on ubuntu
This commit is contained in:
parent
71e495e20a
commit
bde0b96416
|
@ -1,8 +1,8 @@
|
|||
#!/bin/sh
|
||||
set -x
|
||||
#!/bin/bash
|
||||
|
||||
# get the absolute path to the root directory
|
||||
ROOTDIR=$(python -c 'import pathlib, sys; print(pathlib.Path(sys.argv[1]).resolve().parent)' \
|
||||
ROOTDIR=$(python -c 'import pathlib, sys; \
|
||||
print(pathlib.Path(sys.argv[1]).resolve().parents[1])' \
|
||||
"${BASH_SOURCE[0]}")
|
||||
|
||||
export PYTHONPATH="${PYTHONPATH}:${ROOTDIR}"
|
||||
|
|
Loading…
Reference in New Issue