From ce1d51f2a51cbe47f098f68959d415afbdb05462 Mon Sep 17 00:00:00 2001 From: rayelliott Date: Fri, 8 May 2020 13:10:51 +0000 Subject: [PATCH] fix find command --- rename-theme.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rename-theme.sh b/rename-theme.sh index 05db2b1..923f676 100755 --- a/rename-theme.sh +++ b/rename-theme.sh @@ -14,4 +14,4 @@ fi # search and replace -find . -type f -name "**/*.php" -print0 | xargs -0 sed -i '' -e 's/understrap/'"$_name"'_/g' +find . -type f -name "*.php" -print0 | xargs -0 sed -i '' -e 's/understrap/'"$_name"'_/g'