diff options
Diffstat (limited to 'utils/gentransswitch.sh')
| -rwxr-xr-x | utils/gentransswitch.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/gentransswitch.sh b/utils/gentransswitch.sh index 42726ce..447c9be 100755 --- a/utils/gentransswitch.sh +++ b/utils/gentransswitch.sh | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | #!/bin/sh | 1 | #!/bin/sh |
| 2 | 2 | ||
| 3 | printf '\tswitch (t) {\n' | 3 | printf '\tswitch (t) {\n' |
| 4 | for f in transform_??_???.txt; do | 4 | for 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 |
