summaryrefslogtreecommitdiff
path: root/ports-mgmt/bpkg/files/bpkg.sh.in
diff options
context:
space:
mode:
Diffstat (limited to 'ports-mgmt/bpkg/files/bpkg.sh.in')
-rw-r--r--ports-mgmt/bpkg/files/bpkg.sh.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/ports-mgmt/bpkg/files/bpkg.sh.in b/ports-mgmt/bpkg/files/bpkg.sh.in
index 12ad3ba56103..f8f043964080 100644
--- a/ports-mgmt/bpkg/files/bpkg.sh.in
+++ b/ports-mgmt/bpkg/files/bpkg.sh.in
@@ -1,7 +1,7 @@
#!/bin/sh
# $FreeBSD$
-# Copyright (c) 2007-2010 Andy Kosela <akosela@andykosela.com>
+# Copyright (c) 2007-2011 Andy Kosela <akosela@andykosela.com>
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
@@ -404,7 +404,7 @@ pkg_clean2()
exit 0
}
-pkg_which-()
+pkg_which2()
{
grep "$pkg"$ /var/db/pkg/*/+CONTENTS |
awk -F 'pkg/' '{ print $2 }' |
@@ -811,7 +811,7 @@ do
s) pkg=$OPTARG
pkg_info-xs ;;
w) pkg=$OPTARG
- pkg_which- ;;
+ pkg_which2 ;;
z) pkg=$OPTARG
make_ldd ;;
B) pkg_backup_all ;;