Skip to content
This repository was archived by the owner on Feb 24, 2026. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions packages/build-tools/src/steps/functionGroups/maestroTest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,16 +91,16 @@ export function createEasMaestroTestFunctionGroup(
name: 'install_app',
displayName: `Install app to Emulator`,
command: `
# shopt -s globstar is necessary to add /**/ support
shopt -s globstar
# shopt -s nullglob is necessary not to try to install
# SEARCH_PATH literally if there are no matching files.
shopt -s nullglob

SEARCH_PATH="${searchPath}"
SEARCH_DIR=\${SEARCH_PATH%"*/"*}
BASENAME=\${SEARCH_PATH##*/}
FILES_FOUND=false

for APP_PATH in $SEARCH_PATH; do
for APP_PATH in $(find $SEARCH_DIR -name "$BASENAME"); do
FILES_FOUND=true
echo "Installing \\"$APP_PATH\\""
adb install "$APP_PATH"
Expand Down