4
0
mirror of https://github.com/QuasarApp/CMakeProject.git synced 2025-04-27 14:14:32 +00:00

fix ignore path

This commit is contained in:
Andrei Yankovich 2021-03-19 14:25:10 +03:00
parent dd20b1c755
commit fe3006a212

View File

@ -13,8 +13,8 @@ fi
REPLACESTRING="s+RENAME_ME+$1+g"
echo $REPLACESTRING
find . -type f -not -path ".git" -exec sed -i $REPLACESTRING {} +
find . -type f -not -path ".git" -exec sed -i $REPLACESTRING {} +
find . -type f -not -path ".git/*" -exec sed -i $REPLACESTRING {} +
find . -type f -not -path ".git/*" -exec sed -i $REPLACESTRING {} +
find src -type d -name '*RENAME_ME*' -exec sh -c 'x="{}"; NEWSTR=$(echo "$x" | sed "s/RENAME_ME/'$1'/"); mv "$x" "$NEWSTR"' \;