From a09dd1b3f0f7a73b9f3821c77c54b48b81163ece Mon Sep 17 00:00:00 2001 From: rozyczko Date: Tue, 27 Feb 2024 14:01:55 +0100 Subject: [PATCH] use single letter for index --- .github/workflows/main.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d7d5190..328aead 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -169,9 +169,9 @@ jobs: run: | mkdir -p ${{ env.PYCRYSFML_DIST }}/${{ env.DIST_PACKAGE_NAME }} cd ${{ env.PYCRYSFML_REPO }}/src - for %%nam in (py_cfml_metrics py_cfml_profiles py_cfml_sxtal_geom) do ( - ${{ matrix.compiler }} -shared -o %%nam.pyd %%nam.f90 ${{ env.COMPILER_OPTIONS }} -I ${{ env.CRYSFML_INSTALL_DIR }}/include -L ${{ env.CRYSFML_INSTALL_DIR }}/lib -lCrysFML08 {{ env.LIBPYTHON }} - cp %%nam.pyd ${{ env.PYCRYSFML_DIST }}/${{ env.DIST_PACKAGE_NAME }} + for %%n in (py_cfml_metrics py_cfml_profiles py_cfml_sxtal_geom) do ( + ${{ matrix.compiler }} -shared -o %%n.pyd %%n.f90 ${{ env.COMPILER_OPTIONS }} -I ${{ env.CRYSFML_INSTALL_DIR }}/include -L ${{ env.CRYSFML_INSTALL_DIR }}/lib -lCrysFML08 {{ env.LIBPYTHON }} + cp %%n.pyd ${{ env.PYCRYSFML_DIST }}/${{ env.DIST_PACKAGE_NAME }} ) rm *.smod *.*mod