ports/157114: pbi_info -v outputs "usage: tr [-Ccsu] string1 string2"

KOIE Hidetaka koie at suri.co.jp
Tue May 17 11:30:12 UTC 2011


>Number:         157114
>Category:       ports
>Synopsis:       pbi_info -v outputs "usage: tr [-Ccsu] string1 string2"
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue May 17 11:30:11 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     KOIE Hidetaka
>Release:        9.0-CURRENT
>Organization:
surigiken
>Environment:
FreeBSD guriandgura 9.0-CURRENT FreeBSD 9.0-CURRENT #0 r221690+9f517e840d04,ver-hg,nice-powerd: Tue May 10 18:06:05 JST 2011     root at guriandgura:/usr/obj/usr/src/sys/GURIANDGURA  amd64
>Description:
I introduce pbi-manager-0.9.1, and
 pbi_add --rArch amd64 --repo 001 -r Firefox
 pbi_add --rArch amd64 --repo 001 -r OpenOffice

Firfox and openoffice.org work fine.
But, "pbi_add --rArch amd64 --repo 001 -r OpenOffice" and "pbi_info -v" output
some buggy message like this:
usage: tr [-Ccsu] string1 string2
       tr [-Ccu] -d string1
       tr [-Ccu] -s string1
       tr [-Ccu] -ds string1 string2


>How-To-Repeat:
% pbi_info -v
usage: tr [-Ccsu] string1 string2                     <<<< HERE
       tr [-Ccu] -d string1
       tr [-Ccu] -s string1
       tr [-Ccu] -ds string1 string2
PBI Information for: -3.3.0-amd64                     <<<< HERE
-----------------------------------------------------
Name: OpenOffice
InstalledBy: root
RootInstall: NO
Version: 3.3.0
Built: 20110403 021940
Prefix: /usr/pbi/openoffice-amd64
Author: The OpenOffice Team
Website: http://www.openoffice.org
Arch: amd64
FbsdVer: 9.0-CURRENT
CreatorVer: 1.0
ArchiveCount: 32539
ArchiveSum: 1dbb5c6483d3c5d4c115b1ebd6e19c104ae40c5182a49750f313ecc9e31c1bc8
Signature: Verified
Associated Repo: 001 (Official PC-BSD Repository)
AutoUpdate: NO
DesktopIcons: YES
MenuIcons: YES
MimeRegistration: YES
TopBanner: /var/db/pbi/installed/-3.3.0-amd64/top-banner.png
SideBanner: /var/db/pbi/installed/-3.3.0-amd64/side-banner.png
Icon: /var/db/pbi/installed/-3.3.0-amd64/pbi_icon.png

usage: tr [-Ccsu] string1 string2
       tr [-Ccu] -d string1
       tr [-Ccu] -s string1
       tr [-Ccu] -ds string1 string2
PBI Information for: -4.0.1-amd64
-----------------------------------------------------
Name: Firefox
InstalledBy: root
RootInstall: NO
Version: 4.0.1
Built: 20110508 002206
Prefix: /usr/pbi/firefox-amd64
Author: The Mozilla Foundation
Website: http://www.mozilla.com
Arch: amd64
FbsdVer: 9.0-CURRENT
CreatorVer: 1.0
ArchiveCount: 36692
ArchiveSum: bed347bac36c6abb2473d06bd5151d33150d47113348642589859f6c03607410
Signature: Verified
Associated Repo: 001 (Official PC-BSD Repository)
AutoUpdate: NO
DesktopIcons: YES
MenuIcons: YES
TopBanner: /var/db/pbi/installed/firefox-4.0.1-amd64/top-banner.png
SideBanner: /var/db/pbi/installed/firefox-4.0.1-amd64/side-banner.png
Icon: /var/db/pbi/installed/firefox-4.0.1-amd64/pbi_icon.png

%

>Fix:
It seems quotation problem.


Patch attached with submission follows:

diff -rpu pbi-orig/pbi_add pbi/pbi_add
--- pbi-orig/pbi_add	2011-05-17 20:08:58.986747429 +0900
+++ pbi/pbi_add	2011-05-17 20:05:34.000745202 +0900
@@ -1475,7 +1475,7 @@ get_pbi_progdir() {
 		get_pbi_progname
 	fi
 
-	tmp="`echo ${PBI_PROGNAME} | tr -d ' ' | tr [A-Z] [a-z]`"
+	tmp="`echo ${PBI_PROGNAME} | tr -d ' ' | tr '[A-Z]' '[a-z]'`"
 	ARCH="`uname -m`"
 	if [ -z "${PBI_PROGDIRNAME}" ] ; then
 		PBI_PROGDIRNAME="${tmp}-${ARCH}"
@@ -2548,7 +2548,7 @@ check_pbi_info_display() {
 # Display pbi information to stdout
 pbi_display_info() {
 
-	tmp="`echo ${PBI_PROGNAME} | tr -d ' ' | tr [A-Z] [a-z]`"
+	tmp="`echo ${PBI_PROGNAME} | tr -d ' ' | tr '[A-Z]' '[a-z]'`"
         _appname="${tmp}-${PBI_PROGVERSION}-${PBI_APPARCH}"
 
 	if [ -z "$PBI_PATCHVERSION" ] ; then
@@ -2960,7 +2960,7 @@ mv_ln_hashfile() {
 
 # Return the dbdir for this PBI
 get_dbdir() {
-	tmp="`echo ${PBI_PROGNAME} | tr -d ' ' | tr [A-Z] [a-z]`"
+	tmp="`echo ${PBI_PROGNAME} | tr -d ' ' | tr '[A-Z]' '[a-z]'`"
         APPDBDIR="${PBI_DBAPPDIR}/${tmp}-${PBI_PROGVERSION}-${PBI_APPARCH}"
 }
 
diff -rpu pbi-orig/pbi_addrepo pbi/pbi_addrepo
--- pbi-orig/pbi_addrepo	2011-05-17 20:08:58.995743836 +0900
+++ pbi/pbi_addrepo	2011-05-17 20:07:26.504746492 +0900
@@ -1475,7 +1475,7 @@ get_pbi_progdir() {
 		get_pbi_progname
 	fi
 
-	tmp="`echo ${PBI_PROGNAME} | tr -d ' ' | tr [A-Z] [a-z]`"
+	tmp="`echo ${PBI_PROGNAME} | tr -d ' ' | tr '[A-Z]' '[a-z]'`"
 	ARCH="`uname -m`"
 	if [ -z "${PBI_PROGDIRNAME}" ] ; then
 		PBI_PROGDIRNAME="${tmp}-${ARCH}"
@@ -2548,7 +2548,7 @@ check_pbi_info_display() {
 # Display pbi information to stdout
 pbi_display_info() {
 
-	tmp="`echo ${PBI_PROGNAME} | tr -d ' ' | tr [A-Z] [a-z]`"
+	tmp="`echo ${PBI_PROGNAME} | tr -d ' ' | tr '[A-Z]' '[a-z]'`"
         _appname="${tmp}-${PBI_PROGVERSION}-${PBI_APPARCH}"
 
 	if [ -z "$PBI_PATCHVERSION" ] ; then
@@ -2960,7 +2960,7 @@ mv_ln_hashfile() {
 
 # Return the dbdir for this PBI
 get_dbdir() {
-	tmp="`echo ${PBI_PROGNAME} | tr -d ' ' | tr [A-Z] [a-z]`"
+	tmp="`echo ${PBI_PROGNAME} | tr -d ' ' | tr '[A-Z]' '[a-z]'`"
         APPDBDIR="${PBI_DBAPPDIR}/${tmp}-${PBI_PROGVERSION}-${PBI_APPARCH}"
 }
 
diff -rpu pbi-orig/pbi_autobuild pbi/pbi_autobuild
--- pbi-orig/pbi_autobuild	2011-05-17 20:08:58.995743836 +0900
+++ pbi/pbi_autobuild	2011-05-17 20:05:47.045745100 +0900
@@ -1475,7 +1475,7 @@ get_pbi_progdir() {
 		get_pbi_progname
 	fi
 
-	tmp="`echo ${PBI_PROGNAME} | tr -d ' ' | tr [A-Z] [a-z]`"
+	tmp="`echo ${PBI_PROGNAME} | tr -d ' ' | tr '[A-Z]' '[a-z]'`"
 	ARCH="`uname -m`"
 	if [ -z "${PBI_PROGDIRNAME}" ] ; then
 		PBI_PROGDIRNAME="${tmp}-${ARCH}"
@@ -2548,7 +2548,7 @@ check_pbi_info_display() {
 # Display pbi information to stdout
 pbi_display_info() {
 
-	tmp="`echo ${PBI_PROGNAME} | tr -d ' ' | tr [A-Z] [a-z]`"
+	tmp="`echo ${PBI_PROGNAME} | tr -d ' ' | tr '[A-Z]' '[a-z]'`"
         _appname="${tmp}-${PBI_PROGVERSION}-${PBI_APPARCH}"
 
 	if [ -z "$PBI_PATCHVERSION" ] ; then
@@ -2960,7 +2960,7 @@ mv_ln_hashfile() {
 
 # Return the dbdir for this PBI
 get_dbdir() {
-	tmp="`echo ${PBI_PROGNAME} | tr -d ' ' | tr [A-Z] [a-z]`"
+	tmp="`echo ${PBI_PROGNAME} | tr -d ' ' | tr '[A-Z]' '[a-z]'`"
         APPDBDIR="${PBI_DBAPPDIR}/${tmp}-${PBI_PROGVERSION}-${PBI_APPARCH}"
 }
 
diff -rpu pbi-orig/pbi_browser pbi/pbi_browser
--- pbi-orig/pbi_browser	2011-05-17 20:08:58.994743956 +0900
+++ pbi/pbi_browser	2011-05-17 20:05:49.549747336 +0900
@@ -1475,7 +1475,7 @@ get_pbi_progdir() {
 		get_pbi_progname
 	fi
 
-	tmp="`echo ${PBI_PROGNAME} | tr -d ' ' | tr [A-Z] [a-z]`"
+	tmp="`echo ${PBI_PROGNAME} | tr -d ' ' | tr '[A-Z]' '[a-z]'`"
 	ARCH="`uname -m`"
 	if [ -z "${PBI_PROGDIRNAME}" ] ; then
 		PBI_PROGDIRNAME="${tmp}-${ARCH}"
@@ -2548,7 +2548,7 @@ check_pbi_info_display() {
 # Display pbi information to stdout
 pbi_display_info() {
 
-	tmp="`echo ${PBI_PROGNAME} | tr -d ' ' | tr [A-Z] [a-z]`"
+	tmp="`echo ${PBI_PROGNAME} | tr -d ' ' | tr '[A-Z]' '[a-z]'`"
         _appname="${tmp}-${PBI_PROGVERSION}-${PBI_APPARCH}"
 
 	if [ -z "$PBI_PATCHVERSION" ] ; then
@@ -2960,7 +2960,7 @@ mv_ln_hashfile() {
 
 # Return the dbdir for this PBI
 get_dbdir() {
-	tmp="`echo ${PBI_PROGNAME} | tr -d ' ' | tr [A-Z] [a-z]`"
+	tmp="`echo ${PBI_PROGNAME} | tr -d ' ' | tr '[A-Z]' '[a-z]'`"
         APPDBDIR="${PBI_DBAPPDIR}/${tmp}-${PBI_PROGVERSION}-${PBI_APPARCH}"
 }
 
diff -rpu pbi-orig/pbi_create pbi/pbi_create
--- pbi-orig/pbi_create	2011-05-17 20:08:58.994743956 +0900
+++ pbi/pbi_create	2011-05-17 20:05:54.251746603 +0900
@@ -2548,7 +2548,7 @@ check_pbi_info_display() {
 # Display pbi information to stdout
 pbi_display_info() {
 
-	tmp="`echo ${PBI_PROGNAME} | tr -d ' ' | tr [A-Z] [a-z]`"
+	tmp="`echo ${PBI_PROGNAME} | tr -d ' ' | tr '[A-Z]' '[a-z]'`"
         _appname="${tmp}-${PBI_PROGVERSION}-${PBI_APPARCH}"
 
 	if [ -z "$PBI_PATCHVERSION" ] ; then
@@ -2960,7 +2960,7 @@ mv_ln_hashfile() {
 
 # Return the dbdir for this PBI
 get_dbdir() {
-	tmp="`echo ${PBI_PROGNAME} | tr -d ' ' | tr [A-Z] [a-z]`"
+	tmp="`echo ${PBI_PROGNAME} | tr -d ' ' | tr '[A-Z]' '[a-z]'`"
         APPDBDIR="${PBI_DBAPPDIR}/${tmp}-${PBI_PROGVERSION}-${PBI_APPARCH}"
 }
 
diff -rpu pbi-orig/pbi_delete pbi/pbi_delete
--- pbi-orig/pbi_delete	2011-05-17 20:08:58.993748825 +0900
+++ pbi/pbi_delete	2011-05-17 20:05:56.316745897 +0900
@@ -1475,7 +1475,7 @@ get_pbi_progdir() {
 		get_pbi_progname
 	fi
 
-	tmp="`echo ${PBI_PROGNAME} | tr -d ' ' | tr [A-Z] [a-z]`"
+	tmp="`echo ${PBI_PROGNAME} | tr -d ' ' | tr '[A-Z]' '[a-z]'`"
 	ARCH="`uname -m`"
 	if [ -z "${PBI_PROGDIRNAME}" ] ; then
 		PBI_PROGDIRNAME="${tmp}-${ARCH}"
@@ -2548,7 +2548,7 @@ check_pbi_info_display() {
 # Display pbi information to stdout
 pbi_display_info() {
 
-	tmp="`echo ${PBI_PROGNAME} | tr -d ' ' | tr [A-Z] [a-z]`"
+	tmp="`echo ${PBI_PROGNAME} | tr -d ' ' | tr '[A-Z]' '[a-z]'`"
         _appname="${tmp}-${PBI_PROGVERSION}-${PBI_APPARCH}"
 
 	if [ -z "$PBI_PATCHVERSION" ] ; then
@@ -2960,7 +2960,7 @@ mv_ln_hashfile() {
 
 # Return the dbdir for this PBI
 get_dbdir() {
-	tmp="`echo ${PBI_PROGNAME} | tr -d ' ' | tr [A-Z] [a-z]`"
+	tmp="`echo ${PBI_PROGNAME} | tr -d ' ' | tr '[A-Z]' '[a-z]'`"
         APPDBDIR="${PBI_DBAPPDIR}/${tmp}-${PBI_PROGVERSION}-${PBI_APPARCH}"
 }
 
diff -rpu pbi-orig/pbi_deleterepo pbi/pbi_deleterepo
--- pbi-orig/pbi_deleterepo	2011-05-17 20:08:58.993748825 +0900
+++ pbi/pbi_deleterepo	2011-05-17 20:06:00.090744997 +0900
@@ -2548,7 +2548,7 @@ check_pbi_info_display() {
 # Display pbi information to stdout
 pbi_display_info() {
 
-	tmp="`echo ${PBI_PROGNAME} | tr -d ' ' | tr [A-Z] [a-z]`"
+	tmp="`echo ${PBI_PROGNAME} | tr -d ' ' | tr '[A-Z]' '[a-z]'`"
         _appname="${tmp}-${PBI_PROGVERSION}-${PBI_APPARCH}"
 
 	if [ -z "$PBI_PATCHVERSION" ] ; then
@@ -2960,7 +2960,7 @@ mv_ln_hashfile() {
 
 # Return the dbdir for this PBI
 get_dbdir() {
-	tmp="`echo ${PBI_PROGNAME} | tr -d ' ' | tr [A-Z] [a-z]`"
+	tmp="`echo ${PBI_PROGNAME} | tr -d ' ' | tr '[A-Z]' '[a-z]'`"
         APPDBDIR="${PBI_DBAPPDIR}/${tmp}-${PBI_PROGVERSION}-${PBI_APPARCH}"
 }
 
diff -rpu pbi-orig/pbi_icon pbi/pbi_icon
--- pbi-orig/pbi_icon	2011-05-17 20:08:58.992748945 +0900
+++ pbi/pbi_icon	2011-05-17 20:06:02.687745577 +0900
@@ -1475,7 +1475,7 @@ get_pbi_progdir() {
 		get_pbi_progname
 	fi
 
-	tmp="`echo ${PBI_PROGNAME} | tr -d ' ' | tr [A-Z] [a-z]`"
+	tmp="`echo ${PBI_PROGNAME} | tr -d ' ' | tr '[A-Z]' '[a-z]'`"
 	ARCH="`uname -m`"
 	if [ -z "${PBI_PROGDIRNAME}" ] ; then
 		PBI_PROGDIRNAME="${tmp}-${ARCH}"
@@ -2548,7 +2548,7 @@ check_pbi_info_display() {
 # Display pbi information to stdout
 pbi_display_info() {
 
-	tmp="`echo ${PBI_PROGNAME} | tr -d ' ' | tr [A-Z] [a-z]`"
+	tmp="`echo ${PBI_PROGNAME} | tr -d ' ' | tr '[A-Z]' '[a-z]'`"
         _appname="${tmp}-${PBI_PROGVERSION}-${PBI_APPARCH}"
 
 	if [ -z "$PBI_PATCHVERSION" ] ; then
@@ -2960,7 +2960,7 @@ mv_ln_hashfile() {
 
 # Return the dbdir for this PBI
 get_dbdir() {
-	tmp="`echo ${PBI_PROGNAME} | tr -d ' ' | tr [A-Z] [a-z]`"
+	tmp="`echo ${PBI_PROGNAME} | tr -d ' ' | tr '[A-Z]' '[a-z]'`"
         APPDBDIR="${PBI_DBAPPDIR}/${tmp}-${PBI_PROGVERSION}-${PBI_APPARCH}"
 }
 
diff -rpu pbi-orig/pbi_indextool pbi/pbi_indextool
--- pbi-orig/pbi_indextool	2011-05-17 20:08:58.992748945 +0900
+++ pbi/pbi_indextool	2011-05-17 20:06:05.932746382 +0900
@@ -2548,7 +2548,7 @@ check_pbi_info_display() {
 # Display pbi information to stdout
 pbi_display_info() {
 
-	tmp="`echo ${PBI_PROGNAME} | tr -d ' ' | tr [A-Z] [a-z]`"
+	tmp="`echo ${PBI_PROGNAME} | tr -d ' ' | tr '[A-Z]' '[a-z]'`"
         _appname="${tmp}-${PBI_PROGVERSION}-${PBI_APPARCH}"
 
 	if [ -z "$PBI_PATCHVERSION" ] ; then
@@ -2960,7 +2960,7 @@ mv_ln_hashfile() {
 
 # Return the dbdir for this PBI
 get_dbdir() {
-	tmp="`echo ${PBI_PROGNAME} | tr -d ' ' | tr [A-Z] [a-z]`"
+	tmp="`echo ${PBI_PROGNAME} | tr -d ' ' | tr '[A-Z]' '[a-z]'`"
         APPDBDIR="${PBI_DBAPPDIR}/${tmp}-${PBI_PROGVERSION}-${PBI_APPARCH}"
 }
 
diff -rpu pbi-orig/pbi_info pbi/pbi_info
--- pbi-orig/pbi_info	2011-05-17 20:08:58.991747109 +0900
+++ pbi/pbi_info	2011-05-17 20:07:31.636749219 +0900
@@ -1475,7 +1475,7 @@ get_pbi_progdir() {
 		get_pbi_progname
 	fi
 
-	tmp="`echo ${PBI_PROGNAME} | tr -d ' ' | tr [A-Z] [a-z]`"
+	tmp="`echo ${PBI_PROGNAME} | tr -d ' ' | tr '[A-Z]' '[a-z]'`"
 	ARCH="`uname -m`"
 	if [ -z "${PBI_PROGDIRNAME}" ] ; then
 		PBI_PROGDIRNAME="${tmp}-${ARCH}"
@@ -2548,7 +2548,7 @@ check_pbi_info_display() {
 # Display pbi information to stdout
 pbi_display_info() {
 
-	tmp="`echo ${PBI_PROGNAME} | tr -d ' ' | tr [A-Z] [a-z]`"
+	tmp="`echo ${PBI_PROGNAME} | tr -d ' ' | tr '[A-Z]' '[a-z]'`"
         _appname="${tmp}-${PBI_PROGVERSION}-${PBI_APPARCH}"
 
 	if [ -z "$PBI_PATCHVERSION" ] ; then
@@ -2960,7 +2960,7 @@ mv_ln_hashfile() {
 
 # Return the dbdir for this PBI
 get_dbdir() {
-	tmp="`echo ${PBI_PROGNAME} | tr -d ' ' | tr [A-Z] [a-z]`"
+	tmp="`echo ${PBI_PROGNAME} | tr -d ' ' | tr '[A-Z]' '[a-z]'`"
         APPDBDIR="${PBI_DBAPPDIR}/${tmp}-${PBI_PROGVERSION}-${PBI_APPARCH}"
 }
 
diff -rpu pbi-orig/pbi_listrepo pbi/pbi_listrepo
--- pbi-orig/pbi_listrepo	2011-05-17 20:08:58.991747109 +0900
+++ pbi/pbi_listrepo	2011-05-17 20:06:14.682747645 +0900
@@ -1475,7 +1475,7 @@ get_pbi_progdir() {
 		get_pbi_progname
 	fi
 
-	tmp="`echo ${PBI_PROGNAME} | tr -d ' ' | tr [A-Z] [a-z]`"
+	tmp="`echo ${PBI_PROGNAME} | tr -d ' ' | tr '[A-Z]' '[a-z]'`"
 	ARCH="`uname -m`"
 	if [ -z "${PBI_PROGDIRNAME}" ] ; then
 		PBI_PROGDIRNAME="${tmp}-${ARCH}"
@@ -2548,7 +2548,7 @@ check_pbi_info_display() {
 # Display pbi information to stdout
 pbi_display_info() {
 
-	tmp="`echo ${PBI_PROGNAME} | tr -d ' ' | tr [A-Z] [a-z]`"
+	tmp="`echo ${PBI_PROGNAME} | tr -d ' ' | tr '[A-Z]' '[a-z]'`"
         _appname="${tmp}-${PBI_PROGVERSION}-${PBI_APPARCH}"
 
 	if [ -z "$PBI_PATCHVERSION" ] ; then
@@ -2960,7 +2960,7 @@ mv_ln_hashfile() {
 
 # Return the dbdir for this PBI
 get_dbdir() {
-	tmp="`echo ${PBI_PROGNAME} | tr -d ' ' | tr [A-Z] [a-z]`"
+	tmp="`echo ${PBI_PROGNAME} | tr -d ' ' | tr '[A-Z]' '[a-z]'`"
         APPDBDIR="${PBI_DBAPPDIR}/${tmp}-${PBI_PROGVERSION}-${PBI_APPARCH}"
 }
 
diff -rpu pbi-orig/pbi_makepatch pbi/pbi_makepatch
--- pbi-orig/pbi_makepatch	2011-05-17 20:08:58.990747509 +0900
+++ pbi/pbi_makepatch	2011-05-17 20:06:17.137751288 +0900
@@ -1475,7 +1475,7 @@ get_pbi_progdir() {
 		get_pbi_progname
 	fi
 
-	tmp="`echo ${PBI_PROGNAME} | tr -d ' ' | tr [A-Z] [a-z]`"
+	tmp="`echo ${PBI_PROGNAME} | tr -d ' ' | tr '[A-Z]' '[a-z]'`"
 	ARCH="`uname -m`"
 	if [ -z "${PBI_PROGDIRNAME}" ] ; then
 		PBI_PROGDIRNAME="${tmp}-${ARCH}"
@@ -2548,7 +2548,7 @@ check_pbi_info_display() {
 # Display pbi information to stdout
 pbi_display_info() {
 
-	tmp="`echo ${PBI_PROGNAME} | tr -d ' ' | tr [A-Z] [a-z]`"
+	tmp="`echo ${PBI_PROGNAME} | tr -d ' ' | tr '[A-Z]' '[a-z]'`"
         _appname="${tmp}-${PBI_PROGVERSION}-${PBI_APPARCH}"
 
 	if [ -z "$PBI_PATCHVERSION" ] ; then
@@ -2960,7 +2960,7 @@ mv_ln_hashfile() {
 
 # Return the dbdir for this PBI
 get_dbdir() {
-	tmp="`echo ${PBI_PROGNAME} | tr -d ' ' | tr [A-Z] [a-z]`"
+	tmp="`echo ${PBI_PROGNAME} | tr -d ' ' | tr '[A-Z]' '[a-z]'`"
         APPDBDIR="${PBI_DBAPPDIR}/${tmp}-${PBI_PROGVERSION}-${PBI_APPARCH}"
 }
 
diff -rpu pbi-orig/pbi_makeport pbi/pbi_makeport
--- pbi-orig/pbi_makeport	2011-05-17 20:08:58.990747509 +0900
+++ pbi/pbi_makeport	2011-05-17 20:06:20.677746324 +0900
@@ -2548,7 +2548,7 @@ check_pbi_info_display() {
 # Display pbi information to stdout
 pbi_display_info() {
 
-	tmp="`echo ${PBI_PROGNAME} | tr -d ' ' | tr [A-Z] [a-z]`"
+	tmp="`echo ${PBI_PROGNAME} | tr -d ' ' | tr '[A-Z]' '[a-z]'`"
         _appname="${tmp}-${PBI_PROGVERSION}-${PBI_APPARCH}"
 
 	if [ -z "$PBI_PATCHVERSION" ] ; then
@@ -2960,7 +2960,7 @@ mv_ln_hashfile() {
 
 # Return the dbdir for this PBI
 get_dbdir() {
-	tmp="`echo ${PBI_PROGNAME} | tr -d ' ' | tr [A-Z] [a-z]`"
+	tmp="`echo ${PBI_PROGNAME} | tr -d ' ' | tr '[A-Z]' '[a-z]'`"
         APPDBDIR="${PBI_DBAPPDIR}/${tmp}-${PBI_PROGVERSION}-${PBI_APPARCH}"
 }
 
diff -rpu pbi-orig/pbi_makerepo pbi/pbi_makerepo
--- pbi-orig/pbi_makerepo	2011-05-17 20:08:58.989749305 +0900
+++ pbi/pbi_makerepo	2011-05-17 20:06:23.389746521 +0900
@@ -1475,7 +1475,7 @@ get_pbi_progdir() {
 		get_pbi_progname
 	fi
 
-	tmp="`echo ${PBI_PROGNAME} | tr -d ' ' | tr [A-Z] [a-z]`"
+	tmp="`echo ${PBI_PROGNAME} | tr -d ' ' | tr '[A-Z]' '[a-z]'`"
 	ARCH="`uname -m`"
 	if [ -z "${PBI_PROGDIRNAME}" ] ; then
 		PBI_PROGDIRNAME="${tmp}-${ARCH}"
@@ -2548,7 +2548,7 @@ check_pbi_info_display() {
 # Display pbi information to stdout
 pbi_display_info() {
 
-	tmp="`echo ${PBI_PROGNAME} | tr -d ' ' | tr [A-Z] [a-z]`"
+	tmp="`echo ${PBI_PROGNAME} | tr -d ' ' | tr '[A-Z]' '[a-z]'`"
         _appname="${tmp}-${PBI_PROGVERSION}-${PBI_APPARCH}"
 
 	if [ -z "$PBI_PATCHVERSION" ] ; then
@@ -2960,7 +2960,7 @@ mv_ln_hashfile() {
 
 # Return the dbdir for this PBI
 get_dbdir() {
-	tmp="`echo ${PBI_PROGNAME} | tr -d ' ' | tr [A-Z] [a-z]`"
+	tmp="`echo ${PBI_PROGNAME} | tr -d ' ' | tr '[A-Z]' '[a-z]'`"
         APPDBDIR="${PBI_DBAPPDIR}/${tmp}-${PBI_PROGVERSION}-${PBI_APPARCH}"
 }
 
diff -rpu pbi-orig/pbi_metatool pbi/pbi_metatool
--- pbi-orig/pbi_metatool	2011-05-17 20:08:58.989749305 +0900
+++ pbi/pbi_metatool	2011-05-17 20:06:26.127747511 +0900
@@ -2548,7 +2548,7 @@ check_pbi_info_display() {
 # Display pbi information to stdout
 pbi_display_info() {
 
-	tmp="`echo ${PBI_PROGNAME} | tr -d ' ' | tr [A-Z] [a-z]`"
+	tmp="`echo ${PBI_PROGNAME} | tr -d ' ' | tr '[A-Z]' '[a-z]'`"
         _appname="${tmp}-${PBI_PROGVERSION}-${PBI_APPARCH}"
 
 	if [ -z "$PBI_PATCHVERSION" ] ; then
@@ -2960,7 +2960,7 @@ mv_ln_hashfile() {
 
 # Return the dbdir for this PBI
 get_dbdir() {
-	tmp="`echo ${PBI_PROGNAME} | tr -d ' ' | tr [A-Z] [a-z]`"
+	tmp="`echo ${PBI_PROGNAME} | tr -d ' ' | tr '[A-Z]' '[a-z]'`"
         APPDBDIR="${PBI_DBAPPDIR}/${tmp}-${PBI_PROGVERSION}-${PBI_APPARCH}"
 }
 
diff -rpu pbi-orig/pbi_patch pbi/pbi_patch
--- pbi-orig/pbi_patch	2011-05-17 20:08:58.988748307 +0900
+++ pbi/pbi_patch	2011-05-17 20:06:28.491746423 +0900
@@ -1475,7 +1475,7 @@ get_pbi_progdir() {
 		get_pbi_progname
 	fi
 
-	tmp="`echo ${PBI_PROGNAME} | tr -d ' ' | tr [A-Z] [a-z]`"
+	tmp="`echo ${PBI_PROGNAME} | tr -d ' ' | tr '[A-Z]' '[a-z]'`"
 	ARCH="`uname -m`"
 	if [ -z "${PBI_PROGDIRNAME}" ] ; then
 		PBI_PROGDIRNAME="${tmp}-${ARCH}"
@@ -2548,7 +2548,7 @@ check_pbi_info_display() {
 # Display pbi information to stdout
 pbi_display_info() {
 
-	tmp="`echo ${PBI_PROGNAME} | tr -d ' ' | tr [A-Z] [a-z]`"
+	tmp="`echo ${PBI_PROGNAME} | tr -d ' ' | tr '[A-Z]' '[a-z]'`"
         _appname="${tmp}-${PBI_PROGVERSION}-${PBI_APPARCH}"
 
 	if [ -z "$PBI_PATCHVERSION" ] ; then
@@ -2960,7 +2960,7 @@ mv_ln_hashfile() {
 
 # Return the dbdir for this PBI
 get_dbdir() {
-	tmp="`echo ${PBI_PROGNAME} | tr -d ' ' | tr [A-Z] [a-z]`"
+	tmp="`echo ${PBI_PROGNAME} | tr -d ' ' | tr '[A-Z]' '[a-z]'`"
         APPDBDIR="${PBI_DBAPPDIR}/${tmp}-${PBI_PROGVERSION}-${PBI_APPARCH}"
 }
 
diff -rpu pbi-orig/pbi_update pbi/pbi_update
--- pbi-orig/pbi_update	2011-05-17 20:08:58.987750662 +0900
+++ pbi/pbi_update	2011-05-17 20:06:31.810745895 +0900
@@ -2548,7 +2548,7 @@ check_pbi_info_display() {
 # Display pbi information to stdout
 pbi_display_info() {
 
-	tmp="`echo ${PBI_PROGNAME} | tr -d ' ' | tr [A-Z] [a-z]`"
+	tmp="`echo ${PBI_PROGNAME} | tr -d ' ' | tr '[A-Z]' '[a-z]'`"
         _appname="${tmp}-${PBI_PROGVERSION}-${PBI_APPARCH}"
 
 	if [ -z "$PBI_PATCHVERSION" ] ; then
@@ -2960,7 +2960,7 @@ mv_ln_hashfile() {
 
 # Return the dbdir for this PBI
 get_dbdir() {
-	tmp="`echo ${PBI_PROGNAME} | tr -d ' ' | tr [A-Z] [a-z]`"
+	tmp="`echo ${PBI_PROGNAME} | tr -d ' ' | tr '[A-Z]' '[a-z]'`"
         APPDBDIR="${PBI_DBAPPDIR}/${tmp}-${PBI_PROGVERSION}-${PBI_APPARCH}"
 }
 
diff -rpu pbi-orig/pbi_update_hashdir pbi/pbi_update_hashdir
--- pbi-orig/pbi_update_hashdir	2011-05-17 20:08:58.996746231 +0900
+++ pbi/pbi_update_hashdir	2011-05-17 20:06:34.504746016 +0900
@@ -1475,7 +1475,7 @@ get_pbi_progdir() {
 		get_pbi_progname
 	fi
 
-	tmp="`echo ${PBI_PROGNAME} | tr -d ' ' | tr [A-Z] [a-z]`"
+	tmp="`echo ${PBI_PROGNAME} | tr -d ' ' | tr '[A-Z]' '[a-z]'`"
 	ARCH="`uname -m`"
 	if [ -z "${PBI_PROGDIRNAME}" ] ; then
 		PBI_PROGDIRNAME="${tmp}-${ARCH}"
@@ -2548,7 +2548,7 @@ check_pbi_info_display() {
 # Display pbi information to stdout
 pbi_display_info() {
 
-	tmp="`echo ${PBI_PROGNAME} | tr -d ' ' | tr [A-Z] [a-z]`"
+	tmp="`echo ${PBI_PROGNAME} | tr -d ' ' | tr '[A-Z]' '[a-z]'`"
         _appname="${tmp}-${PBI_PROGVERSION}-${PBI_APPARCH}"
 
 	if [ -z "$PBI_PATCHVERSION" ] ; then
@@ -2960,7 +2960,7 @@ mv_ln_hashfile() {
 
 # Return the dbdir for this PBI
 get_dbdir() {
-	tmp="`echo ${PBI_PROGNAME} | tr -d ' ' | tr [A-Z] [a-z]`"
+	tmp="`echo ${PBI_PROGNAME} | tr -d ' ' | tr '[A-Z]' '[a-z]'`"
         APPDBDIR="${PBI_DBAPPDIR}/${tmp}-${PBI_PROGVERSION}-${PBI_APPARCH}"
 }
 
diff -rpu pbi-orig/pbid pbi/pbid
--- pbi-orig/pbid	2011-05-17 20:27:46.282748542 +0900
+++ pbi/pbid	2011-05-17 20:27:24.508747196 +0900
@@ -1475,7 +1475,7 @@ get_pbi_progdir() {
 		get_pbi_progname
 	fi
 
-	tmp="`echo ${PBI_PROGNAME} | tr -d ' ' | tr [A-Z] [a-z]`"
+	tmp="`echo ${PBI_PROGNAME} | tr -d ' ' | tr '[A-Z]' '[a-z]'`"
 	ARCH="`uname -m`"
 	if [ -z "${PBI_PROGDIRNAME}" ] ; then
 		PBI_PROGDIRNAME="${tmp}-${ARCH}"
@@ -2548,7 +2548,7 @@ check_pbi_info_display() {
 # Display pbi information to stdout
 pbi_display_info() {
 
-	tmp="`echo ${PBI_PROGNAME} | tr -d ' ' | tr [A-Z] [a-z]`"
+	tmp="`echo ${PBI_PROGNAME} | tr -d ' ' | tr '[A-Z]' '[a-z]'`"
         _appname="${tmp}-${PBI_PROGVERSION}-${PBI_APPARCH}"
 
 	if [ -z "$PBI_PATCHVERSION" ] ; then
@@ -2960,7 +2960,7 @@ mv_ln_hashfile() {
 
 # Return the dbdir for this PBI
 get_dbdir() {
-	tmp="`echo ${PBI_PROGNAME} | tr -d ' ' | tr [A-Z] [a-z]`"
+	tmp="`echo ${PBI_PROGNAME} | tr -d ' ' | tr '[A-Z]' '[a-z]'`"
         APPDBDIR="${PBI_DBAPPDIR}/${tmp}-${PBI_PROGVERSION}-${PBI_APPARCH}"
 }
 


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list