Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions aab/git.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,10 @@ def archive(self, version, outdir):
# https://stackoverflow.com/a/12010656
cmd = (
"stash=`git stash create`; git archive --format tar $stash |"
" tar -x -C {outdir}/".format(outdir=outdir)
' tar -x -C "{outdir}/"'.format(outdir=outdir)
)
else:
cmd = "git archive --format tar {vers} | tar -x -C {outdir}/".format(
cmd = 'git archive --format tar {vers} | tar -x -C "{outdir}/"'.format(
vers=version, outdir=outdir
)
return call_shell(cmd)
Expand Down