From 112cbad9ca0ef56a2db41fa0624f2ec641b70376 Mon Sep 17 00:00:00 2001 From: GONG Jie Date: Sun, 31 Dec 2017 23:59:59 +0000 Subject: [PATCH] Remove trailing spaces in file perl-xCAT/xCAT/CFMUtils.pm --- perl-xCAT/xCAT/CFMUtils.pm | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/perl-xCAT/xCAT/CFMUtils.pm b/perl-xCAT/xCAT/CFMUtils.pm index d6a36c659..e0d306503 100644 --- a/perl-xCAT/xCAT/CFMUtils.pm +++ b/perl-xCAT/xCAT/CFMUtils.pm @@ -25,7 +25,7 @@ use xCAT::MsgUtils; =head3 initCFMdir Initialize CFM directories and files. The default layout under cfmdir is: - . + . |-- etc | |-- group.merge -> /etc/group.merge | |-- hosts -> /etc/hosts @@ -42,7 +42,7 @@ use xCAT::MsgUtils; 0 - initialize successfully 1 - initialize failed Globals: - none + none Error: none Example: @@ -116,7 +116,7 @@ sub initCFMdir Update the /etc/passwd, shadow, group merge files under specified CFM directory Arguments: - $cfmdir - CFM directory for osimage + $cfmdir - CFM directory for osimage Returns: 0 - update successfully 1 - update failed @@ -287,7 +287,7 @@ sub setCFMSynclistFile { #----------------------------------------------------------------------------- =head3 updateCFMSynclistFile - Update the synclist file(/install/osimages//synclist.cfm) for CFM function. + Update the synclist file(/install/osimages//synclist.cfm) for CFM function. It will recursively scan the files under cfmdir directory and then add them to CFM synclist file. Note: The files with suffix ".append" will be appended to the dest file(records in "APPEND:" section). @@ -778,8 +778,8 @@ sub getPkgsDiff { #----------------------------------------------------------------------------- -=head3 getIncludefiles - Get the #INCLUDE files from the given file +=head3 getIncludefiles + Get the #INCLUDE files from the given file Arguments: $file - the given file @@ -825,7 +825,7 @@ sub getIncludefiles { #----------------------------------------------------------------------------- =head3 trim - Strip left and right whitspaces for a string + Strip left and right whitspaces for a string Arguments: $string