From 38f1540e906db521eb2d873acedf398ee624f967 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Mon, 16 Dec 2019 18:22:02 +0100 Subject: [PATCH] Use $PWD consistently --- python-flit.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python-flit.spec b/python-flit.spec index fe91d5d..8deb855 100644 --- a/python-flit.spec +++ b/python-flit.spec @@ -88,14 +88,14 @@ export FLIT_NO_NETWORK=1 # first, build flit_core with self # TODO do it in a less hacky way, this is reconstructed from pyoroject.toml cd flit_core -PYTHONPATH=$(pwd) %{python3} -c 'from flit_core.build_thyself import build_wheel; build_wheel(".")' +PYTHONPATH=$PWD %{python3} -c 'from flit_core.build_thyself import build_wheel; build_wheel(".")' # %%py3_install_wheel unfortunately hardcodes installing from dist/ mkdir ../dist mv flit_core-%{version}-py2.py3-none-any.whl ../dist cd - -PYTHONPATH=$(pwd):$(pwd)/flit_core %{python3} -m flit build --format wheel +PYTHONPATH=$PWD:$PWD/flit_core %{python3} -m flit build --format wheel %install