Skip to content

Commit

Permalink
Restyled by shellharden
Browse files Browse the repository at this point in the history
  • Loading branch information
restyled-commits committed Mar 18, 2022
1 parent d348931 commit 5f50682
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/examples/gn_efr32_example.sh
Original file line number Diff line number Diff line change
Expand Up @@ -154,10 +154,10 @@ else
arm-none-eabi-size -A "$BUILD_DIR"/*.out

# Generate bootloader file
if [ ${BUILD_DIR:0:2} == "./"]; then
if [ "${BUILD_DIR:0:2}" == "./"]; then
BUILD_DIR_TRIMMED="${BUILD_DIR:2}"
else
BUILD_DIR_TRIMMED="${BUILD_DIR}"
BUILD_DIR_TRIMMED="$BUILD_DIR"
fi
S37_PATH=$(find "$BUILD_DIR_TRIMMED" -type f -name "*.s37")
if [ -z "$S37_PATH" ]; then
Expand Down

0 comments on commit 5f50682

Please sign in to comment.