From fbd5ed29043c4094f1209ec8935a577f5ce9e7a6 Mon Sep 17 00:00:00 2001 From: lonkaars Date: Tue, 25 Oct 2022 19:59:31 +0200 Subject: fix full path script for other drive letters than C:/ --- scripts/compiledb-full-path-mingw.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3