Skip to content

Commit 4f9dbe7

Browse files
committed
[fix] : Do not ask if noconfirm is true
1 parent 2d276ad commit 4f9dbe7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/fullbuild.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ fi
265265
fullbuild_dir="${work_dir}/fullbuild"
266266
mkdir -p "${fullbuild_dir}"
267267

268-
if [[ "$(find "${fullbuild_dir}" -maxdepth 1 -mindepth 1 -name "fullbuild.*" 2> /dev/null)" ]]; then
268+
if [[ "$(find "${fullbuild_dir}" -maxdepth 1 -mindepth 1 -name "fullbuild.*" 2> /dev/null)" ]] && [[ "${noconfirm}" = false ]]; then
269269
msg_info "Do you want to reset lock files ? (y/N)"
270270
read -r -n 1 _yes_or_no
271271
echo

0 commit comments

Comments
 (0)