From 0376aadb7153233a1f4a6be21b27fb845f059915 Mon Sep 17 00:00:00 2001 From: wanghuaz Date: Fri, 24 Jul 2009 06:24:16 +0000 Subject: [PATCH] fixed defect #2826390 git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3877 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/share/xcat/ib/scripts/getGuids | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/xCAT-server/share/xcat/ib/scripts/getGuids b/xCAT-server/share/xcat/ib/scripts/getGuids index bb73a1de3..ed557191e 100644 --- a/xCAT-server/share/xcat/ib/scripts/getGuids +++ b/xCAT-server/share/xcat/ib/scripts/getGuids @@ -47,7 +47,7 @@ $::AIXIBCmd = "/usr/bin/ibstat"; $::logging++; local *FILE; -`/usr/bin/mkdir -p $::DEFAULT_RESULT_FILE_PATH`; +`mkdir -p $::DEFAULT_RESULT_FILE_PATH`; unless (open(FILE, ">$::RESULT_FILE")) { print "Can't open file $::RESULT_FILE for writing.\n"; @@ -258,7 +258,7 @@ sub getArgs() $::RESULT_FILE = $::DEFAULT_RESULT_FILE; if (!-e "/var/opt/xcat/ib/") { - `/usr/bin/mkdir -p /var/opt/xcat/ib/`; + `mkdir -p /var/opt/xcat/ib/`; if ($?) { $::GLOBAL_EXIT = $?; @@ -375,7 +375,7 @@ sub append_logging() if (!-e $logfile) { # create the log file if not already there - `/usr/bin/mkdir -p $::GUIDS_LOG_PATH`; + `mkdir -p $::GUIDS_LOG_PATH`; unless (open(LOGFILE, ">$logfile")) { # Cannot open file