diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2024-06-09 19:25:04 +0200 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2024-06-09 19:25:04 +0200 |
| commit | b218c803ae1110b08b4896be0a59177e280c9091 (patch) | |
| tree | 5be2f99b20f968d3f3649f1064d60acf059f49b6 /utils/genmovecode.sh | |
| parent | c5c5017a335208881e27fc8f72c1d0145a04622a (diff) | |
| download | nissy-core-b218c803ae1110b08b4896be0a59177e280c9091.tar.gz nissy-core-b218c803ae1110b08b4896be0a59177e280c9091.zip | |
sorted utils folder
Diffstat (limited to 'utils/genmovecode.sh')
| -rwxr-xr-x | utils/genmovecode.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/genmovecode.sh b/utils/genmovecode.sh index d1a70c0..2e4040b 100755 --- a/utils/genmovecode.sh +++ b/utils/genmovecode.sh | |||
| @@ -3,7 +3,7 @@ | |||
| 3 | gcc -DDEBUG h48_to_lst.c ../src/cube.c -o h48_to_lst | 3 | gcc -DDEBUG h48_to_lst.c ../src/cube.c -o h48_to_lst |
| 4 | 4 | ||
| 5 | gen() { | 5 | gen() { |
| 6 | for f in move_??_*.txt; do | 6 | for f in cubse/move_??_*.txt; do |
| 7 | move="$(echo $f | sed 's/.*_// ; s/\.txt//')" | 7 | move="$(echo $f | sed 's/.*_// ; s/\.txt//')" |
| 8 | printf '#define _move_cube_%s fastcube( \\\n ' "$move" | 8 | printf '#define _move_cube_%s fastcube( \\\n ' "$move" |
| 9 | ./h48_to_lst <"$f" | 9 | ./h48_to_lst <"$f" |
