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 | b49848d6e361b76904f094b7d5e10d6edea75afe (patch) | |
| tree | 9814fbd1c3effac9b8377c5d604b367b14e2db55 /build/scripts/fs_tools.py | |
| parent | bcd1126cbd5d445cd0665d295198aa39c6ab8cbe (diff) | |
Restoring authorship annotation for <[email protected]>. Commit 2 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 d2d62098224..dec4c349c89 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: | 
