Skip to content

Commit

Permalink
Merge pull request ESCOMP#14 from jedwards4b/fix/dir_path
Browse files Browse the repository at this point in the history
fix issue with sparse checkout dir path
  • Loading branch information
jedwards4b authored Feb 6, 2024
2 parents 69a5dc5 + f456ca0 commit cd74fd7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions git_fleximod/git_fleximod.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ def commandline_arguments(args=None):

def submodule_sparse_checkout(root_dir, name, url, path, sparsefile, tag="master"):
# first create the module directory
if not os.path.isdir(path):
os.makedirs(path)
if not os.path.isdir(os.path.join(root_dir,path)):
os.makedirs(os.path.join(root_dir,path))
# Check first if the module is already defined
# and the sparse-checkout file exists
git = GitInterface(root_dir, logger)
Expand Down

0 comments on commit cd74fd7

Please sign in to comment.