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
|
#!/bin/bash
|
||||||
set -x
|
|
||||||
|
|
||||||
# get the absolute path to the root directory
|
# 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]}")
|
"${BASH_SOURCE[0]}")
|
||||||
|
|
||||||
export PYTHONPATH="${PYTHONPATH}:${ROOTDIR}"
|
export PYTHONPATH="${PYTHONPATH}:${ROOTDIR}"
|
||||||
|
|
Loading…
Reference in New Issue