changeset 759:1f882fcafa7e

* ecosadmin.tcl: Prevent calls to 'cygpath' with an empty path argument.
author jld
date Wed, 05 Mar 2003 16:42:35 +0000
parents a0734f51a939
children e5ab9c9a45c7
files packages/ChangeLog packages/ecosadmin.tcl
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/packages/ChangeLog
+++ b/packages/ChangeLog
@@ -1,3 +1,8 @@
+2003-03-05  John Dallaway  <jld@ecoscentric.com>
+
+	* ecosadmin.tcl: Prevent calls to 'cygpath' with an empty
+	path argument.
+
 2003-02-24  Jonathan Larmour  <jifl@eCosCentric.com>
 
 	* pkgconf/rules.doc: Allow support for copying files directly from
--- a/packages/ecosadmin.tcl
+++ b/packages/ecosadmin.tcl
@@ -792,7 +792,7 @@ proc ecosadmin::is_empty_directory { dir
 
 proc ecosadmin::get_pathname_for_tcl { name } {
 
-	if { $ecosadmin::windows_host } {
+	if { ( $ecosadmin::windows_host ) && ( $name != "" ) } {
 
 		# If there is no logical drive letter specified
 		if { [ string match "?:*" $name ] == 0 } {