Skip to content

Commit 572f1fb

Browse files
akoeplingerjonpryor
authored andcommitted
[xabuild] Error if $TARGETS_DIR can't be found (#951)
Otherwise we'd continue in the script and all sorts of weirdness would occur since `$TARGETS_DIR` is empty.
1 parent 286b9c2 commit 572f1fb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tools/scripts/xabuild

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ done
9797

9898
if [ ! -d "$TARGETS_DIR" ]; then
9999
(>&2 echo "$name: Could not determine Xamarin.Android targets path.")
100+
exit 1
100101
fi
101102
export TARGETS_DIR
102103
export MONO_ANDROID_PATH="$prefix"

0 commit comments

Comments
 (0)