Skip to content

remove Workaround messages to stop build.sh breaking#57

Open
rcooke-warwick wants to merge 1 commit intomasterfrom
ryan/remove-workaround-echo
Open

remove Workaround messages to stop build.sh breaking#57
rcooke-warwick wants to merge 1 commit intomasterfrom
ryan/remove-workaround-echo

Conversation

@rcooke-warwick
Copy link
Copy Markdown

When using a devicetype that invokes the workaround.sh file, the echo Workaround <device> messages break the build script - this is because in the build script, the output of fetch_headers is expected to be the path to the temporary folder containing the headers ONLY - and the extra workaround messages pollute this string.

Change-type: patch

Change-type: patch
Signed-off-by: Ryan Cooke <ryan@balena.io>
@flowzone-app flowzone-app bot enabled auto-merge December 14, 2023 16:08
fi

if [[ "$device" == asus-tinker* ]] ; then
echo Workaround tinkerboard
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably better to leave the message but redirect it to stderr:

echo "Workaround tinkerboard"  >&2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants