Skip to content

Commit

Permalink
build.sh: use full path for flock
Browse files Browse the repository at this point in the history
  • Loading branch information
hiqua committed Aug 1, 2021
1 parent c247927 commit b1f1390
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand All @@ -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..."
Expand Down

0 comments on commit b1f1390

Please sign in to comment.