Use bash instead of dash shell on ubuntu

This commit is contained in:
Roman Yurchak 2018-09-25 11:30:22 +02:00
parent 71e495e20a
commit bde0b96416
1 changed files with 3 additions and 3 deletions

View File

@ -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}"