4
0
mirror of https://github.com/QuasarApp/CMakeProject.git synced 2025-04-26 21:54:33 +00:00
This commit is contained in:
Andrei Yankovich 2021-03-19 14:38:12 +03:00
parent de243c0fa4
commit 85302ac716

View File

@ -13,12 +13,12 @@ fi
REPLACESTRING="s+RENAME_ME+$1+g"
echo $REPLACESTRING
find -D search . -type f -not -path ".git/*" -exec sed -i $REPLACESTRING {} +
find -D search . -type f -not -path ".git/*" -exec sed -i $REPLACESTRING {} +
find . -not -path '*/\.*' -type f -exec sed -i $REPLACESTRING {} +
find . -not -path '*/\.*' -type f -exec sed -i $REPLACESTRING {} +
find -D search src -type d -name '*RENAME_ME*' -exec sh -c 'x="{}"; NEWSTR=$(echo "$x" | sed "s/RENAME_ME/'$1'/"); mv "$x" "$NEWSTR"' \;
find src -type d -name '*RENAME_ME*' -exec sh -c 'x="{}"; NEWSTR=$(echo "$x" | sed "s/RENAME_ME/'$1'/"); mv "$x" "$NEWSTR"' \;
find -D search src -type f -name '*RENAME_ME*' -exec sh -c 'x="{}"; NEWSTR=$(echo "$x" | sed "s/RENAME_ME/'$1'/"); mv "$x" "$NEWSTR"' \;
find src -type f -name '*RENAME_ME*' -exec sh -c 'x="{}"; NEWSTR=$(echo "$x" | sed "s/RENAME_ME/'$1'/"); mv "$x" "$NEWSTR"' \;
set -e
git config -f .gitmodules --get-regexp '^submodule\..*\.path$' |