Skip to content

Commit

Permalink
example_package: handle id length != 3 in ingen.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
j4b6ski committed Dec 10, 2024
1 parent 4cef613 commit 46c2ff2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example_package/prog/__ID__ingen.sh
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ prog_dir="$(realpath "$(dirname "$0")")"
cache_dir="$prog_dir/../.cache"
mkdir -p "$cache_dir"
script_name="$(basename "$0")"
task_id=${script_name:0:3}
task_id=${script_name%ingen.sh}
gen_exe="$cache_dir/${task_id}ingen"
sol_exe="$cache_dir/${task_id}solution"
slo_exe="$cache_dir/${task_id}slow"
Expand Down

0 comments on commit 46c2ff2

Please sign in to comment.