relative path fix
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5182 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
4c63d41614
commit
b09b00f0dc
@ -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});
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user