aboutsummaryrefslogtreecommitdiff
path: root/utils/gentransswitch.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/gentransswitch.sh
parente0f9f9929d80d2c21ae1996b437d9209d498956b (diff)
downloadnissy-core-65878aa07452b45c3f17c3ab15508400edd46476.tar.gz
nissy-core-65878aa07452b45c3f17c3ab15508400edd46476.zip
Some shellcheck
Diffstat (limited to 'utils/gentransswitch.sh')
-rwxr-xr-xutils/gentransswitch.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/gentransswitch.sh b/utils/gentransswitch.sh
index 447c9be..20e2bfb 100755
--- a/utils/gentransswitch.sh
+++ b/utils/gentransswitch.sh
@@ -2,8 +2,8 @@
2 2
3printf '\tswitch (t) {\n' 3printf '\tswitch (t) {\n'
4for f in cubes/transform_??_???.txt; do 4for f in cubes/transform_??_???.txt; do
5 t="$(echo $f | sed 's/.*_// ; s/\.txt//')" 5 t="$(echo "$f" | sed 's/.*_// ; s/\.txt//')"
6 mirror_or_rotation="$(echo $t | grep m)" 6 mirror_or_rotation="$(echo "$t" | grep m)"
7 if [ -z "$mirror_or_rotation" ]; then 7 if [ -z "$mirror_or_rotation" ]; then
8 m="rotation" 8 m="rotation"
9 else 9 else

Generated with cgit - Back to sebastiano.tronto.net