Remove absolute path to flock; change PATH in GH Actions

This commit is contained in:
2021-08-21 07:08:45 -05:00
parent a781a1f947
commit 1866743c47
2 changed files with 5 additions and 3 deletions

View File

@@ -75,7 +75,7 @@ android_test() {
AVDNAME=${AVD_PREFIX}${API}
(
/usr/local/opt/util-linux/bin/flock 10
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
/usr/local/opt/util-linux/bin/flock -u 10
flock -u 10
) 10>/tmp/uhabitsTest.lock
log_info "Launching emulator..."