diff --git a/joomla.sh b/joomla.sh index 5cde1bd..c9940f3 100644 --- a/joomla.sh +++ b/joomla.sh @@ -1,3 +1,3 @@ #/bin/bash -find . -type f -iwholename "*libraries/joomla/version.php" -exec grep -H "version = \"" {} \; +find $1 -type f -iwholename "*libraries/joomla/version.php" -exec grep -H "version = \"" {} \;