Skip to content

Commit

Permalink
* format
Browse files Browse the repository at this point in the history
  • Loading branch information
jdhughes-usgs committed Jun 9, 2024
1 parent a5a4cab commit b8afe0d
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions pymake/utils/_compiler_language_files.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
"""Private functions for processing c/c++ and fortran files"""

import os
import pathlib as pl

from ._dag import _order_c_source_files, _order_f_source_files

Expand Down Expand Up @@ -296,9 +295,7 @@ def _get_srcfiles(srcdir, include_subdir):
or file.lower().endswith(".c")
or file.lower().endswith(".cpp")
):
# srcfiles.append(os.path.relpath(file, os.getcwd()))
file_rel = pl.Path(file).relative_to(os.getcwd())
srcfiles.append(str(file_rel))
srcfiles.append(os.path.relpath(file, os.getcwd()))
return sorted(srcfiles)


Expand Down

0 comments on commit b8afe0d

Please sign in to comment.