aboutsummaryrefslogtreecommitdiff
path: root/utils/gentranscode.sh
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano@tronto.net>2024-09-18 07:56:39 +0200
committerSebastiano Tronto <sebastiano@tronto.net>2024-09-18 07:56:39 +0200
commit65878aa07452b45c3f17c3ab15508400edd46476 (patch)
tree7a49e17ecd40552d9c090fb85db9d2fa6bcc63a0 /utils/gentranscode.sh
parente0f9f9929d80d2c21ae1996b437d9209d498956b (diff)
downloadnissy-core-65878aa07452b45c3f17c3ab15508400edd46476.tar.gz
nissy-core-65878aa07452b45c3f17c3ab15508400edd46476.zip
Some shellcheck
Diffstat (limited to '')
-rwxr-xr-xutils/gentranscode.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/gentranscode.sh b/utils/gentranscode.sh
index e3e199e..9a1de2c 100755
--- a/utils/gentranscode.sh
+++ b/utils/gentranscode.sh
@@ -10,7 +10,7 @@ sedsrc() { sed '3s/$/ };/ ; 3q'; }
10 10
11gen() { 11gen() {
12 for f in cubes/transform_??_???.txt; do 12 for f in cubes/transform_??_???.txt; do
13 trans="$(echo $f | sed 's/.*_// ; s/\.txt//')" 13 trans="$(echo "$f" | sed 's/.*_// ; s/\.txt//')"
14 printf '#define _trans_cube_%s fastcube( \\\n ' "$trans" 14 printf '#define _trans_cube_%s fastcube( \\\n ' "$trans"
15 ./h48_to_lst <"$f" 15 ./h48_to_lst <"$f"
16 printf ')\n' 16 printf ')\n'

Generated with cgit - Back to sebastiano.tronto.net