summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2012-08-05 12:19:28 +0200
committerPierre Schmitz <pierre@archlinux.de>2012-08-05 12:19:28 +0200
commit332346d06375c1272bee6dce2c91d31a027fe212 (patch)
treeabd0b093fd5920d82940c88cbacfd1799411ae88
parentce6e51f159fb1b0d292ac0f3d5edfaa0f0f6be2e (diff)
grep has been moved to /usr
-rw-r--r--db-functions2
1 files changed, 1 insertions, 1 deletions
diff --git a/db-functions b/db-functions
index de5e8b8..e0d693b 100644
--- a/db-functions
+++ b/db-functions
@@ -211,7 +211,7 @@ repo_unlock () { #repo_unlock <repo-name> <arch>
_grep_pkginfo() {
local _ret
- _ret="$(/usr/bin/bsdtar -xOqf "$1" .PKGINFO | /bin/grep -m 1 "^${2} = ")"
+ _ret="$(/usr/bin/bsdtar -xOqf "$1" .PKGINFO | grep -m 1 "^${2} = ")"
echo "${_ret#${2} = }"
}