Skip to content

Commit

Permalink
build: fix missing patch config dir error (#35451)
Browse files Browse the repository at this point in the history
  • Loading branch information
codebytere committed Aug 25, 2022
1 parent 3eb593d commit 8128fa6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion script/export_all_patches.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,15 @@

import argparse
import json
import os

from lib import git


def export_patches(dirs, dry_run):
for patch_dir, repo in dirs.items():
git.export_patches(repo=repo, out_dir=patch_dir, dry_run=dry_run)
if os.path.exists(repo):
git.export_patches(repo=repo, out_dir=patch_dir, dry_run=dry_run)


def parse_args():
Expand Down

0 comments on commit 8128fa6

Please sign in to comment.