diff options
author | lonkaars <loek@pipeframe.xyz> | 2022-10-25 19:59:31 +0200 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2022-10-25 19:59:31 +0200 |
commit | fbd5ed29043c4094f1209ec8935a577f5ce9e7a6 (patch) | |
tree | e99d4d77860e40e79282ef0ecd0c78751c4bfb84 /scripts/compiledb-full-path-mingw.sh | |
parent | 97800dd398440f50dc48911ad27897c98193c056 (diff) |
fix full path script for other drive letters than C:/
Diffstat (limited to 'scripts/compiledb-full-path-mingw.sh')
-rwxr-xr-x | scripts/compiledb-full-path-mingw.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/compiledb-full-path-mingw.sh b/scripts/compiledb-full-path-mingw.sh index 8f95756..be45ca7 100755 --- a/scripts/compiledb-full-path-mingw.sh +++ b/scripts/compiledb-full-path-mingw.sh @@ -10,4 +10,4 @@ fixpath () { fixpath arm-none-eabi-gcc fixpath arm-none-eabi-objcopy -sed "s#\"/c/#\"C:/#g" -i "$COMPILEDB_FILE" +sed 's#"/\(.\)/#"\U\1:/#g' -i "$COMPILEDB_FILE"
\ No newline at end of file |