diff options
author | Alexander M Pickering <alex@cogarr.net> | 2024-10-15 11:41:54 -0500 |
---|---|---|
committer | Alexander M Pickering <alex@cogarr.net> | 2024-10-15 11:41:54 -0500 |
commit | f796200ddd1cc1176dbdb2b2002839be30576557 (patch) | |
tree | 27c0855f1278e4c00774471f986c3988374237c4 | |
parent | 1fcce0d57adffe8f2297bf2400ff1b8105d8f856 (diff) | |
download | lua4win-dist-lua-f796200ddd1cc1176dbdb2b2002839be30576557.tar.gz lua4win-dist-lua-f796200ddd1cc1176dbdb2b2002839be30576557.tar.bz2 lua4win-dist-lua-f796200ddd1cc1176dbdb2b2002839be30576557.zip |
Fix awk script that generates sed script
-rw-r--r-- | License.md | 11 | ||||
-rw-r--r-- | guid_replacer.awk | 1 |
2 files changed, 6 insertions, 6 deletions
@@ -1,9 +1,10 @@ | |||
1 | This distribution may contain the following software, under the following (license)s: | 1 | This distribution may contain the following software, under the following (license)s: |
2 | Lua (MIT) 1994-2024 Lua.org, PUC-Rio | 2 | |
3 | LuaJIT (MIT) 2005-2023 Mike Pall | 3 | Lua (MIT) 1994-2024 Lua.org, PUC-Rio |
4 | Luarocks (MIT) 2007-2011 Kepler Project | 4 | LuaJIT (MIT) 2005-2023 Mike Pall |
5 | 2011-2022 LuaRocks project authors | 5 | Luarocks (MIT) 2007-2011 Kepler Project |
6 | Additional patches and packaging (MIT) 2024 Alexander Pickering. | 6 | 2011-2022 LuaRocks project authors |
7 | Additional patches and packaging (MIT) 2024 Alexander Pickering. | ||
7 | 8 | ||
8 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: | 9 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: |
9 | 10 | ||
diff --git a/guid_replacer.awk b/guid_replacer.awk index 2a95a93..a479e36 100644 --- a/guid_replacer.awk +++ b/guid_replacer.awk | |||
@@ -9,7 +9,6 @@ match($0, /Guid="Lua4Win.[^"]+"/) { | |||
9 | cmd = "echo -n " plain " | sha512sum | head -c 32" | 9 | cmd = "echo -n " plain " | sha512sum | head -c 32" |
10 | while((cmd | getline) > 0) | 10 | while((cmd | getline) > 0) |
11 | str = toupper($0) | 11 | str = toupper($0) |
12 | print str | ||
13 | i = 1 | 12 | i = 1 |
14 | guid_1 = substr(str,i,8) | 13 | guid_1 = substr(str,i,8) |
15 | i+=8 | 14 | i+=8 |