]> arthur.barton.de Git - homebrew-alex.git/commitdiff
"brew rdeps": Do't detect Formula itself
authorAlexander Barton <alex@barton.de>
Wed, 20 Jan 2016 10:34:17 +0000 (11:34 +0100)
committerAlexander Barton <alex@barton.de>
Wed, 20 Jan 2016 10:34:26 +0000 (11:34 +0100)
Signed-off-by: Alexander Barton <alex@barton.de>
cmd/brew-rdeps

index 231bc913d4d3ab1366a161f6c2b30932bd233b86..34aa34b6639bdba314658eec3ad28f1ff65072cf 100755 (executable)
@@ -1,8 +1,8 @@
 #!/bin/sh
-# 2016-01-17, alex@barton.de
+# 2016-01-20, alex@barton.de
 
 for formula in "$@"; do
        brew deps --installed --skip-build \
-        | grep "\b$formula\b" \
+        | grep " $formula\b" \
         | cut -d':' -f1
 done | sort -u