Skip to content
Commit 177caff3 authored by Reuben Cartwright's avatar Reuben Cartwright Committed by Gaurav-Aggarwal-AWS
Browse files

tools: Fix script overwrite credentials behaviour



This commit makes the script correctly ask before overwriting
credentials.
Previously, the script checked for 'dummy_thingname' and the default
endpoint in 'aws_clientcredential.h' and only asked if these defaults
were not present.
These strings occur in more than one place in the header file so so
this check is not sufficient to say the credentials #define'd have not
been modified by the user.
This commit makes the script check the entirety of the #define line.

Signed-off-by: default avatarReuben Cartwright <Reuben.Cartwright@arm.com>
parent eab88f16
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment