Use unbuffered stdio to make it easy to use print for debugging
Previously, debugging using print statements did not work well as print output to stdout was buffered whereas output from subprocesses was not which meant that the output was in the wrong order. Passing -u to Test: packages/modules/common/build/mainline_modules_sdks.sh Bug: 204763318 Change-Id: Ifa5a5d99b9b8d02987faf949a4a5a63d0712415d
This commit is contained in:
@@ -56,7 +56,7 @@ function main() {
|
||||
# provided by the build to ensure consistency across build environments.
|
||||
export DIST_DIR OUT_DIR
|
||||
|
||||
prebuilts/build-tools/linux-x86/bin/py3-cmd "${py3script}"
|
||||
prebuilts/build-tools/linux-x86/bin/py3-cmd -u "${py3script}"
|
||||
}
|
||||
|
||||
init "$@"
|
||||
|
||||
Reference in New Issue
Block a user