mirror of
https://github.com/D4C1-Labs/Flipper-ARF.git
synced 2026-09-02 15:13:45 +00:00
13 lines
335 B
Bash
Executable File
13 lines
335 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Define source and destination paths
|
|
SRC=".vscode/compile_commands.json"
|
|
DEST=".vscode/clang_compile_commands/compile_commands.json"
|
|
|
|
# Copy the file
|
|
cp "$SRC" "$DEST"
|
|
|
|
# Remove the phrase "-mword-relocations" from the copied file
|
|
sed -i '' 's/-mword-relocations//g' "$DEST"
|
|
|
|
echo "File copied and modified successfully." |