Skip to content

Commit

Permalink
Update entrypoint.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
k-paxian committed Jan 29, 2023
1 parent a36f542 commit e54184b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ get_local_package_version() {
GET_OUTPUT=`dart pub get`
DEPS_OUTPUT=`dart pub deps`
fi
PACKAGE_INFO=`echo "$DEPS_OUTPUT" | perl -n -e's/(└|│|-|├).+//g' | head -n 3`
PACKAGE_INFO=`echo "$DEPS_OUTPUT" | perl -0777 -pe 's/(└|│|-|├).+//s' | head -n 3`
trace "$PACKAGE_INFO"
DART_VERSION=`echo "$PACKAGE_INFO" | perl -n -e'/^Dart SDK (.*)$/ && print $1'`
FLUTTER_VERSION=`echo "$PACKAGE_INFO" | perl -n -e'/^Flutter SDK (.*)$/ && print $1'`
Expand Down

0 comments on commit e54184b

Please sign in to comment.