diff options
author | Patrick Northon | 2024-04-03 09:31:48 -0400 |
---|---|---|
committer | Patrick Northon | 2024-04-03 09:31:48 -0400 |
commit | 18acabbb47c50aeed39522486a730253061970de (patch) | |
tree | 56270ebfceb7c9c73d0d3b83e899cec7b1f5ec88 /flutter-engine-prepare.sh | |
parent | bf87cce6e8aa571997fb395de446292c834c7ca5 (diff) | |
download | aur-18acabbb47c50aeed39522486a730253061970de.tar.gz |
Clone depot_tools only if not already cloned from pkgbuild sources.
Diffstat (limited to 'flutter-engine-prepare.sh')
-rwxr-xr-x | flutter-engine-prepare.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/flutter-engine-prepare.sh b/flutter-engine-prepare.sh index 7c6e557d5a31..0bcc1b8f0a4d 100755 --- a/flutter-engine-prepare.sh +++ b/flutter-engine-prepare.sh @@ -43,7 +43,9 @@ $_dart_sdk/bin/dart "\$@" EOF ) "${srcdir}/flutter/bin/dart" - git clone --depth=1 --single-branch 'https://chromium.googlesource.com/chromium/tools/depot_tools.git' "${srcdir}/depot_tools" + if [ ! -d "${srcdir}/depot_tools" ]; then + git clone --depth=1 --single-branch 'https://chromium.googlesource.com/chromium/tools/depot_tools.git' "${srcdir}/depot_tools" + fi popd export \ |