From b09b00f0dcb7df195869126d4321949b4522c10a Mon Sep 17 00:00:00 2001 From: ligc Date: Mon, 8 Feb 2010 03:09:52 +0000 Subject: [PATCH] relative path fix git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5182 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-client/bin/xdsh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xCAT-client/bin/xdsh b/xCAT-client/bin/xdsh index be450ad00..35fba0326 100644 --- a/xCAT-client/bin/xdsh +++ b/xCAT-client/bin/xdsh @@ -503,10 +503,10 @@ sub parse_args_xdcp xCAT::DSHCLI->show_dsh_config; exit 0; } - if ( exists( $options{File} ) && ($options{File} !~ /^\//) ) {#relative path + if ( defined( $options{File} ) && ($options{File} !~ /^\//) ) {#relative path $options{File} = xCAT::Utils->full_path($options{File}); } - if ( exists( $options{rootimg} ) && ($options{rootimg} !~ /^\//) ) {#relative path + if ( defined( $options{rootimg} ) && ($options{rootimg} !~ /^\//) ) {#relative path $options{rootimg} = xCAT::Utils->full_path($options{rootimg}); }