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

svn at pcbsd.org svn at pcbsd.org
Fri Oct 7 07:35:15 PDT 2011


Author: kris
Date: 2011-10-07 07:35:14 -0700 (Fri, 07 Oct 2011)
New Revision: 13202

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

Fix a bug when doing pbi_add -r and a file exists in the local directory, dont
remove file name



Modified: pcbsd/current/src-sh/pbi-manager/pbi-manager
===================================================================
--- pcbsd/current/src-sh/pbi-manager/pbi-manager	2011-10-07 14:05:41 UTC (rev 13201)
+++ pcbsd/current/src-sh/pbi-manager/pbi-manager	2011-10-07 14:35:14 UTC (rev 13202)
@@ -4943,6 +4943,7 @@
 pbi_add_fetch_remote() {
 	# Set the target program we want to download
 	_rtar="$PBI_FILENAME"
+	unset PBI_FILENAME
 
 	# Check if the user overrode the arch / versions we want to install
 	_rArch=`uname -m`



More information about the Commits mailing list