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'