Skip to content

Commit 791c70f

Browse files
committed
cgl script update
1 parent 4834f52 commit 791c70f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

ColorSet.xcodeproj/project.pbxproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -550,7 +550,7 @@
550550
);
551551
runOnlyForDeploymentPostprocessing = 0;
552552
shellPath = /bin/sh;
553-
shellScript = "if [ -z \"$CI\" ] && [ -d \"$SRCROOT/Submodules/cgl\" ] && [ \"${CONFIGURATION}\" = \"Debug\" ]; then\n make -f $SRCROOT/Submodules/cgl/Makefile ddna-mit\nfi\n";
553+
shellScript = "if [ -z \"$CI\" ] && [ -f \"$SRCROOT/Submodules/cgl/Makefile\" ] && [ \"${CONFIGURATION}\" = \"Debug\" ]; then\n make -f $SRCROOT/Submodules/cgl/Makefile ddna-mit\nfi\n";
554554
};
555555
/* End PBXShellScriptBuildPhase section */
556556

ColorSetKit.xcodeproj/project.pbxproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -405,7 +405,7 @@
405405
);
406406
runOnlyForDeploymentPostprocessing = 0;
407407
shellPath = /bin/sh;
408-
shellScript = "if [ -z \"$CI\" ] && [ -d \"$SRCROOT/Submodules/cgl\" ] && [ \"${CONFIGURATION}\" = \"Debug\" ]; then\n make -f $SRCROOT/Submodules/cgl/Makefile ddna-mit\nfi\n";
408+
shellScript = "if [ -z \"$CI\" ] && [ -f \"$SRCROOT/Submodules/cgl/Makefile\" ] && [ \"${CONFIGURATION}\" = \"Debug\" ]; then\n make -f $SRCROOT/Submodules/cgl/Makefile ddna-mit\nfi\n";
409409
};
410410
0587465E28E2E0FD00861788 /* Swift Format */ = {
411411
isa = PBXShellScriptBuildPhase;
@@ -424,7 +424,7 @@
424424
);
425425
runOnlyForDeploymentPostprocessing = 0;
426426
shellPath = /bin/sh;
427-
shellScript = "if [ -z \"$CI\" ] && [ -d \"$SRCROOT/Submodules/cgl\" ] && [ \"${CONFIGURATION}\" = \"Debug\" ]; then\n make -f $SRCROOT/Submodules/cgl/Makefile ddna-mit\nfi\n";
427+
shellScript = "if [ -z \"$CI\" ] && [ -f \"$SRCROOT/Submodules/cgl/Makefile\" ] && [ \"${CONFIGURATION}\" = \"Debug\" ]; then\n make -f $SRCROOT/Submodules/cgl/Makefile ddna-mit\nfi\n";
428428
};
429429
/* End PBXShellScriptBuildPhase section */
430430

0 commit comments

Comments
 (0)