mirror of
https://github.com/kunkundi/crossdesk.git
synced 2026-10-31 10:53:20 +08:00
11 lines
365 B
Bash
Executable File
11 lines
365 B
Bash
Executable File
#!/bin/sh
|
|
set -eu
|
|
cd "$(dirname "$0")/../../.."
|
|
git submodule update --init --recursive
|
|
patch_file="$(pwd)/deps/patches/minirtc-credential-logs.patch"
|
|
if git -C deps/submodules/minirtc apply --reverse --check "$patch_file" 2>/dev/null; then
|
|
exit 0
|
|
fi
|
|
git -C deps/submodules/minirtc apply --check "$patch_file"
|
|
git -C deps/submodules/minirtc apply "$patch_file"
|