From b4d33513bd44c82426ef9e3c6daf5b8046672514 Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Tue, 11 Jun 2024 12:05:24 +0200 Subject: Finished refactor --- utils/genmovecode.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'utils/genmovecode.sh') diff --git a/utils/genmovecode.sh b/utils/genmovecode.sh index 2e4040b..daf268e 100755 --- a/utils/genmovecode.sh +++ b/utils/genmovecode.sh @@ -1,9 +1,9 @@ #!/bin/sh -gcc -DDEBUG h48_to_lst.c ../src/cube.c -o h48_to_lst +cc -DDEBUG h48_to_lst.c ../src/cube.c -o h48_to_lst gen() { - for f in cubse/move_??_*.txt; do + for f in cubes/move_??_*.txt; do move="$(echo $f | sed 's/.*_// ; s/\.txt//')" printf '#define _move_cube_%s fastcube( \\\n ' "$move" ./h48_to_lst <"$f" -- cgit v1.3