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:
parent
dd20b1c755
commit
fe3006a212
4
init.sh
4
init.sh
@ -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"' \;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user