First task is done
This commit is contained in:
parent
d439918865
commit
d44cc8aeb9
30 changed files with 693 additions and 0 deletions
14
scripts/fix-makefiles.sh
Normal file
14
scripts/fix-makefiles.sh
Normal file
|
@ -0,0 +1,14 @@
|
|||
#!/bin/bash
|
||||
# Скрипт для авто-исправления Makefile'ов: удаляет -lssp, меняет .exe → .out и del → rm
|
||||
|
||||
find . -type f -name "Makefile" | while read -r file; do
|
||||
echo "Обрабатываю: $file"
|
||||
sed -i \
|
||||
-e 's/-lssp//g' \
|
||||
-e 's/\.exe/\.out/g' \
|
||||
-e 's/\<del\>/rm/g' \
|
||||
"$file"
|
||||
done
|
||||
|
||||
echo "Готово!"
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue