fix generator script

Change-Id: I1b0ce85aff6d80608d9ad1de90923bff59c686bf
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/275141
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Commit-Queue: Phil Quitslund <pquitslund@google.com>
Reviewed-by: Samuel Rawlins <srawlins@google.com>
This commit is contained in:
pq 2022-12-12 23:06:06 +00:00 committed by Commit Queue
parent aa51913101
commit 331185dbef

View file

@ -39,10 +39,10 @@ then
BUILD_DIR="${ROOT_DIR}/xcodebuild/$DART_CONFIGURATION"
fi
PKG_FILE="${ROOT_DIR}/.packages"
PKG_FILE="${ROOT_DIR}/.dart_tool/package_config.json"
if [[ !(-e $PKG_FILE) ]];
then
PKG_FILE="${ROOT_DIR}/.packages"
PKG_FILE="${ROOT_DIR}/.dart_tool/package_config.json"
fi
DART="${BUILD_DIR}/dart-sdk/bin/dart"