From 65878aa07452b45c3f17c3ab15508400edd46476 Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Wed, 18 Sep 2024 07:56:39 +0200 Subject: Some shellcheck --- utils/gentranscode.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'utils/gentranscode.sh') 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'; } gen() { for f in cubes/transform_??_???.txt; do - trans="$(echo $f | sed 's/.*_// ; s/\.txt//')" + trans="$(echo "$f" | sed 's/.*_// ; s/\.txt//')" printf '#define _trans_cube_%s fastcube( \\\n ' "$trans" ./h48_to_lst <"$f" printf ')\n' -- cgit v1.3