Skip to content

Commit 738cbd2

Browse files
committed
Fix clone issue
1 parent 6b41368 commit 738cbd2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Scripts/CI/ag_setup.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@ clone_checkout_ag() {
1111
cd $REPO_ROOT
1212
revision=$(Scripts/CI/get_revision.sh darwinprivateframeworks)
1313
cd ..
14-
gh repo clone OpenSwiftUIProject/DarwinPrivateFrameworks
14+
if [ ! -d DarwinPrivateFrameworks ]; then
15+
gh repo clone OpenSwiftUIProject/DarwinPrivateFrameworks
16+
fi
1517
cd DarwinPrivateFrameworks
1618
git checkout --quiet $revision
1719
}

0 commit comments

Comments
 (0)