Skip to content

Commit

Permalink
example_package: handle id length != 3 in ingen.sh (#271)
Browse files Browse the repository at this point in the history
  • Loading branch information
j4b6ski authored Dec 10, 2024
1 parent e9f7ed0 commit 16b9325
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 16b9325

Please sign in to comment.