From 565013ea911eaa8538b671d23939d487dd45abc0 Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Tue, 1 Jul 2008 14:14:27 +0000 Subject: [PATCH] -Use find -path syntax to tolerate RH4 git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1816 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/packimage.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-server/lib/xcat/plugins/packimage.pm b/xCAT-server/lib/xcat/plugins/packimage.pm index 568611619..74ef6000b 100644 --- a/xCAT-server/lib/xcat/plugins/packimage.pm +++ b/xCAT-server/lib/xcat/plugins/packimage.pm @@ -78,7 +78,7 @@ sub process_request { my $excludestr = "find . "; while (<$exlist>) { chomp $_; - $excludestr .= "'!' -wholename '".$_."' -a "; + $excludestr .= "'!' -path '".$_."' -a "; } close($exlist);