diff --git a/build.sh b/build.sh index b865429de..d1de400ed 100755 --- a/build.sh +++ b/build.sh @@ -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..."