Remove warning. (Adding -prune would have worked equally well.)

This commit is contained in:
Steve Checkoway
2006-07-08 19:35:48 +00:00
parent 1a902b3abd
commit 392753bc22
+2 -2
View File
@@ -165,8 +165,8 @@ if( -e $pkg )
print "Removing $pkg\n";
rmtree "$pkg";
}
system '/usr/bin/find', "$smdir/StepMania.app", '-name', 'Headers',
'-exec', 'rm', '-rf', '{}', ';';
my @headerdir = split /\n/, `find "$smdir/StepMania.app" -type d -name Headers`;
rmtree \@headerdir;
my $pm =
'/Developer/Applications/Utilities/PackageMaker.app/Contents/MacOS/PackageMaker';
system $pm, '-build', '-p', $pkg, '-f', $destdir, '-ds',