summaryrefslogtreecommitdiff
path: root/Build/cdbuild/place
diff options
context:
space:
mode:
Diffstat (limited to 'Build/cdbuild/place')
-rwxr-xr-xBuild/cdbuild/place4
1 files changed, 2 insertions, 2 deletions
diff --git a/Build/cdbuild/place b/Build/cdbuild/place
index 9e22e4a0a67..ad9b7b8f408 100755
--- a/Build/cdbuild/place
+++ b/Build/cdbuild/place
@@ -137,7 +137,7 @@ foreach $file (sort keys %Old) {
# and if the file does not exist, don't try to remove it -- we
# probably did so by hand and didn't bother to update the tpm.
- next unless -f "$M/$file";
+ next unless -e "$M/$file";
# don't remove tpm or lists file, they won't be in the new package.
if (! $New{$file} && $file !~ /\.tpm$/ && $file !~ m,/lists/[^/]+$,) {
@@ -215,7 +215,7 @@ sub buildfilelist
sub files
{
- if (-f) {
+ if (-e) {
$This=$File::Find::name;
$This =~ s/^\.\///;
$New{$This}=1;