mirror of
https://github.com/siemens-mobile-hacks/pmb887x-dev.git
synced 2026-11-25 18:37:25 +00:00
10 lines
302 B
Bash
Executable file
10 lines
302 B
Bash
Executable file
#!/bin/bash
|
|
set -e
|
|
|
|
bsp_dir="$(cd "$(dirname "$0")" && pwd)"
|
|
marker="$bsp_dir/node_modules/.modules.yaml"
|
|
if [[ ! -f $marker || $bsp_dir/pnpm-lock.yaml -nt $marker ]]; then
|
|
pnpm --dir "$bsp_dir" install --frozen-lockfile --prefer-offline >&2
|
|
touch "$marker"
|
|
fi
|
|
exec node "$bsp_dir/host/boot.js" "$@"
|