Skip to content

Commit

Permalink
Fix locale in grep for CI
Browse files Browse the repository at this point in the history
  • Loading branch information
szapp committed May 12, 2024
1 parent 62a0725 commit 8abed54
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions getAddress.bat
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ IF /I NOT "%fileextn%"==".asm" ECHO Incorrect file extension. *.asm expected.&&
IF NOT EXIST %filefull% ECHO File '%filefull%' not found.&& EXIT /B 2

:: Grep addresses from org decorator
set LC_ALL="en_US.utf8"
type %filefull% ^
| grep -iP "[[:blank:]]*org[[:blank:]]+(\w+\()?[[:blank:]]*((0x)?[[:xdigit:]]{6,8})" ^
| grep -ioP "(?:0x)?[[:xdigit:]]{6,8}" ^
Expand Down

0 comments on commit 8abed54

Please sign in to comment.