diff options
Diffstat (limited to 'tools/upgrade.nom')
| -rwxr-xr-x | tools/upgrade.nom | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/upgrade.nom b/tools/upgrade.nom index a505aaa..690d4fb 100755 --- a/tools/upgrade.nom +++ b/tools/upgrade.nom @@ -1,5 +1,4 @@ #!/usr/bin/env nomsu -V2.5.4.3 -#!/usr/bin/env Nomsu -V2.4.4.3 use "core" use "compatibility" use "lib/os.nom" @@ -18,6 +17,7 @@ if (%args.1 is "-t"): for %path in %args: if (%path is "-i"): %inplace = (yes) for file %filename in %path: + unless (%filename matches "%.nom$"): do next %filename %tree = (parse (read file %filename) from %filename) %uptree = (%tree upgraded) %text = ".." @@ -35,4 +35,4 @@ for %path in %args: ..else: say (bright "\%filename will be changed") - else: say %text
\ No newline at end of file + else: say %text |
