Commit bde0b964 authored by Roman Yurchak's avatar Roman Yurchak

Use bash instead of dash shell on ubuntu

parent 71e495e2
#!/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}"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment