[PC-BSD Commits] r9562 - pcbsd/current/src-sh/pbi-manager

svn at pcbsd.org svn at pcbsd.org
Mon Mar 7 12:05:24 PST 2011


Author: kris
Date: 2011-03-07 12:05:24 -0800 (Mon, 07 Mar 2011)
New Revision: 9562

Modified:
   pcbsd/current/src-sh/pbi-manager/pbi-manager
Log:

Browse in case-insensitive method



Modified: pcbsd/current/src-sh/pbi-manager/pbi-manager
===================================================================
--- pcbsd/current/src-sh/pbi-manager/pbi-manager	2011-03-07 18:24:52 UTC (rev 9561)
+++ pcbsd/current/src-sh/pbi-manager/pbi-manager	2011-03-07 20:05:24 UTC (rev 9562)
@@ -1882,15 +1882,15 @@
 	if [ ! -z "$PBI_BROWSE_LISTALLPBI" ] ; then
 		echo "Using RepoID: $PBI_BROWSE_RID"
 		echo "Listing all available PBIs"
-		grep -e "^App=" $PBI_BROWSE_METAFILE > ${PBI_TMPDIR}/.meta.$$
+		grep -i -e "^App=" $PBI_BROWSE_METAFILE > ${PBI_TMPDIR}/.meta.$$
 	elif [ ! -z "$PBI_BROWSE_CAT" ] ; then
 		echo "Using RepoID: $PBI_BROWSE_RID"
 		echo "Available PBIs for Category: $PBI_BROWSE_CAT"
-		grep -e "^App=" -e ";${PBI_BROWSE_CAT};" $PBI_BROWSE_METAFILE > ${PBI_TMPDIR}/.meta.$$
+		grep -i -e "^App=" -e ";${PBI_BROWSE_CAT};" $PBI_BROWSE_METAFILE > ${PBI_TMPDIR}/.meta.$$
 	elif [ ! -z "$PBI_BROWSE_SEARCH" ] ; then
 		echo "Using RepoID: $PBI_BROWSE_RID"
 		echo "Searching for: $PBI_BROWSE_SEARCH"
-		grep -e "^App=" $PBI_BROWSE_METAFILE > ${PBI_TMPDIR}/.meta.$$
+		grep -i -e "^App=" $PBI_BROWSE_METAFILE > ${PBI_TMPDIR}/.meta.$$
 	else
 		exit_err "No valid search variable set!"
 	fi



More information about the Commits mailing list