Skip to content

Commit

Permalink
Use single quotes for shell commands.
Browse files Browse the repository at this point in the history
  • Loading branch information
Kentzo committed Aug 14, 2018
1 parent fdede70 commit 7a84efa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions git_archive_all.py
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ def walk_git_files(self, repo_path=''):
"""
repo_abspath = path.join(self.main_repo_abspath, repo_path)
repo_file_paths = self.run_git_shell(
"git ls-files --cached --full-name --no-empty-directory",
'git ls-files --cached --full-name --no-empty-directory',
repo_abspath
).splitlines()

Expand All @@ -230,8 +230,8 @@ def walk_git_files(self, repo_path=''):
yield main_repo_file_path

if self.force_sub:
self.run_git_shell("git submodule init", repo_abspath)
self.run_git_shell("git submodule update", repo_abspath)
self.run_git_shell('git submodule init', repo_abspath)
self.run_git_shell('git submodule update', repo_abspath)

try:
repo_gitmodules_abspath = path.join(repo_abspath, ".gitmodules")
Expand Down

0 comments on commit 7a84efa

Please sign in to comment.