mirror of
https://github.com/winfsp/winfsp.git
synced 2026-11-08 01:56:40 -06:00
tools: fix-source-copyright: fix botched script
This commit is contained in:
1 file changed
+2
-2
@@ -11,7 +11,7 @@ if [[ $# -eq 0 ]]; then
|
||||
fi
|
||||
|
||||
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
|
||||
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
|
||||
Reference in new issue
Block a user