Tweak
This commit is contained in:
parent
f7eb30a916
commit
17c0099753
7
build.sh
7
build.sh
@ -97,7 +97,12 @@ function build() {
|
|||||||
echo -n "\"description\": \"${job_name}\"",
|
echo -n "\"description\": \"${job_name}\"",
|
||||||
echo -n "\"handout\": \"https://static.betalupi.com/ormc/$(realpath --relative-to="${target_dir}" "${b_target_dir}")/${job_name}.pdf\","
|
echo -n "\"handout\": \"https://static.betalupi.com/ormc/$(realpath --relative-to="${target_dir}" "${b_target_dir}")/${job_name}.pdf\","
|
||||||
if [[ $solution_stat == 0 ]]; then
|
if [[ $solution_stat == 0 ]]; then
|
||||||
echo -n "\"solutions\": \"https://static.betalupi.com/ormc/$(realpath --relative-to="${target_dir}" "${b_target_dir}")/${job_name}.sols.pdf\""
|
echo -n "\"solutions\": \"https://static.betalupi.com/ormc/$(realpath --relative-to="${target_dir}" "${b_target_dir}")/${job_name}.sols.pdf\","
|
||||||
|
fi
|
||||||
|
if [[ $solution_stat == 0 ]]; then
|
||||||
|
echo -n "\"starred\": true"
|
||||||
|
else
|
||||||
|
echo -n "\"starred\": false"
|
||||||
fi
|
fi
|
||||||
echo -n "},"
|
echo -n "},"
|
||||||
) >> "$target_dir/index.json"
|
) >> "$target_dir/index.json"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user