fix: problem_prebuild.sh: allow to have no prebuild.Makefile script
This commit is contained in:
parent
e2881514d4
commit
e4fc2c01d0
@ -17,7 +17,7 @@ fi
|
|||||||
|
|
||||||
if [ ! -f "$WORKSPACE/problem/$1/judge/prebuild.Makefile" ]; then
|
if [ ! -f "$WORKSPACE/problem/$1/judge/prebuild.Makefile" ]; then
|
||||||
log_warn "Problem $1 does not have prebuild scripts"
|
log_warn "Problem $1 does not have prebuild scripts"
|
||||||
log_warn "$WORKSPACE/problem/$1/.mark.prebuild"
|
touch "$WORKSPACE/problem/$1/.mark.prebuild"
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user