Skip to content

Commit

Permalink
fix issue with sparse checkout dir path
Browse files Browse the repository at this point in the history
  • Loading branch information
jedwards4b committed Feb 6, 2024
1 parent 69a5dc5 commit f456ca0
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 f456ca0

Please sign in to comment.