summarylogtreecommitdiffstats
path: root/flutter-engine-prepare.sh
diff options
context:
space:
mode:
authorPatrick Northon2024-04-03 09:31:48 -0400
committerPatrick Northon2024-04-03 09:31:48 -0400
commit18acabbb47c50aeed39522486a730253061970de (patch)
tree56270ebfceb7c9c73d0d3b83e899cec7b1f5ec88 /flutter-engine-prepare.sh
parentbf87cce6e8aa571997fb395de446292c834c7ca5 (diff)
downloadaur-18acabbb47c50aeed39522486a730253061970de.tar.gz
Clone depot_tools only if not already cloned from pkgbuild sources.
Diffstat (limited to 'flutter-engine-prepare.sh')
-rwxr-xr-xflutter-engine-prepare.sh4
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 \