mirror of
https://bitbucket.org/smil3y/katana.git
synced 2025-02-23 10:22:46 +00:00
grep.sh: quote the arguments passed to git
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
5fbdd3dc64
commit
9420fe3b8b
1 changed files with 1 additions and 1 deletions
2
grep.sh
2
grep.sh
|
@ -7,6 +7,6 @@ packs=("kdelibs" "kde-workspace" "kde-extraapps")
|
||||||
for p in "${packs[@]}";do
|
for p in "${packs[@]}";do
|
||||||
echo "Searching $p..."
|
echo "Searching $p..."
|
||||||
cd "$p"
|
cd "$p"
|
||||||
git grep $@ ":(exclude)*.svg" || true
|
git grep "$@" ":(exclude)*.svg" || true
|
||||||
cd ..
|
cd ..
|
||||||
done
|
done
|
||||||
|
|
Loading…
Add table
Reference in a new issue