Skip to content

Commit

Permalink
Some minor changes in jarscan.sh file.
Browse files Browse the repository at this point in the history
  • Loading branch information
rakeshcusat committed Jun 13, 2013
1 parent 1fc72eb commit 81c44fa
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ShellScripts/jarscan.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,14 @@ fi

shift

echo "pattern : $pattern"
#echo "pattern : $pattern"

for jar in $(find $* -type f -name "*.jar")
for I in $(find $* -type f -name "*.jar")
do
match=`jar -tf $jar | grep $pattern`
match=`jar -tf $I | grep $pattern`
if [ ! -z "$match" ]
then
echo "Found in: $jar"
echo "Found in: $I"
echo "$match"
fi
done

0 comments on commit 81c44fa

Please sign in to comment.