Commit 176091fb authored by Thibault Saunier's avatar Thibault Saunier

build: Make sure sandbox paths are set before any path set by the user

Otherwise we might be using component from user local path inside the
sandbox which should not happen.

And minor fix in docs/HACKING.md
parent 9dc53971
......@@ -3,7 +3,7 @@
PITIVI_DIR=$(realpath $(dirname $0)/../../)
function generate_path_and_completion_calls {
echo "export PATH=$PITIVI_DIR/bin/:\$PATH"
echo "export PATH=$PITIVI_DIR/bin/:/app/bin/:/usr/bin/:\$PATH"
echo "export CC='ccache gcc'"
echo "export CXX='ccache g++'"
}
......
......@@ -27,7 +27,7 @@ $ source bin/pitivi-env
Run `pitivi` while inside the environment to launch Pitivi. Next you should run the unittests.
```
(ptv-flatpak) $ pitivi
(ptv-flatpak) $ nosetests tests/test_*.py
(ptv-flatpak) $ make check
```
After you hack the source code simply run `pitivi` again to see how your changes work.
......
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