build.sh: use full path for flock

Fixes #1044.
pull/1045/head
Quentin Hibon 4 years ago
parent c2479278ba
commit b1f1390c0e

@ -75,7 +75,7 @@ android_test() {
AVDNAME=${AVD_PREFIX}${API}
(
flock 10
/usr/local/opt/util-linux/bin/flock 10
log_info "Stopping Android emulator..."
while [[ -n $(pgrep -f ${AVDNAME}) ]]; do
pkill -9 -f ${AVDNAME}
@ -91,7 +91,7 @@ android_test() {
--package "system-images;android-$API;default;x86_64" \
--device "Nexus 4" || return 1
flock -u 10
/usr/local/opt/util-linux/bin/flock -u 10
) 10>/tmp/uhabitsTest.lock
log_info "Launching emulator..."

Loading…
Cancel
Save