From 9ad735af1c710f0fb8cba8f13ddb3c33c2b6bfa5 Mon Sep 17 00:00:00 2001 From: sakolish Date: Thu, 28 Feb 2008 14:48:00 +0000 Subject: [PATCH] Allow dependenacy table to take list of operations - Line #900 git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@614 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server-2.0/lib/xcat/plugins/blade.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-server-2.0/lib/xcat/plugins/blade.pm b/xCAT-server-2.0/lib/xcat/plugins/blade.pm index b70d4cb0d..86ca4e6d7 100644 --- a/xCAT-server-2.0/lib/xcat/plugins/blade.pm +++ b/xCAT-server-2.0/lib/xcat/plugins/blade.pm @@ -897,7 +897,7 @@ sub build_depend { if (!defined($dep)) { $no_dp{$node} = 1; } - elsif ($cmd eq @$exargs[0]) { + elsif ( grep(/^@$exargs[0]$/, split /,/, $cmd )) { foreach (split /,/,$dep ) { $dp{$_}{$node} = $delay; }