diff options
| author | spreis <[email protected]> | 2022-02-10 16:47:13 +0300 | 
|---|---|---|
| committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:47:13 +0300 | 
| commit | bcd1126cbd5d445cd0665d295198aa39c6ab8cbe (patch) | |
| tree | d41d29a041d5733ef148335290dbb817b197d4cd /build/scripts/fs_tools.py | |
| parent | 986cb5d624f352524bfa0c42c9a7695235cdaa41 (diff) | |
Restoring authorship annotation for <[email protected]>. Commit 1 of 2.
Diffstat (limited to 'build/scripts/fs_tools.py')
| -rw-r--r-- | build/scripts/fs_tools.py | 12 | 
1 files changed, 6 insertions, 6 deletions
| diff --git a/build/scripts/fs_tools.py b/build/scripts/fs_tools.py index dec4c349c89..d2d62098224 100644 --- a/build/scripts/fs_tools.py +++ b/build/scripts/fs_tools.py @@ -82,13 +82,13 @@ if __name__ == '__main__':          link_or_copy(args[0], args[1])      elif mode == 'link_or_copy_to_dir':          assert len(args) > 1 -        start = 0 -        if args[0] == '--no-check': -            if args == 2: -                sys.exit() -            start = 1 +        start = 0  +        if args[0] == '--no-check':  +            if args == 2:  +                sys.exit()  +            start = 1           dst = args[-1] -        for src in args[start:-1]: +        for src in args[start:-1]:               link_or_copy(src, os.path.join(dst, os.path.basename(src)))      elif mode == 'cat':          with open(args[0], 'w') as dst: | 
