mirror of
https://github.com/winfsp/winfsp.git
synced 2025-04-22 08:23:05 -05:00
tools: fix-source-copyright: fix botched script
This commit is contained in:
parent
3ab0e5a3d3
commit
b3dfea8303
@ -11,7 +11,7 @@ if [[ $# -eq 0 ]]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ "$(uname -s)" == Darwin* ]]; then
|
if [[ "$(uname -s)" == Darwin* ]]; then
|
||||||
git grep -lz "$@" | xargs -0 sed -E -i "" -e "s/$MATCH/$SUBST/"
|
find "$@" -type f -print0 | xargs -0 sed -E -i "" -e "s/$MATCH/$SUBST/"
|
||||||
else
|
else
|
||||||
git grep -lz "$@" | xargs -0 sed -E -i"" -e "s/$MATCH/$SUBST/"
|
find "$@" -type f -print0 | xargs -0 sed -E -i"" -e "s/$MATCH/$SUBST/"
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user