summaryrefslogtreecommitdiff
path: root/Build/source/utils/psutils/psutils-1.17/includeres.pl
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/utils/psutils/psutils-1.17/includeres.pl')
-rw-r--r--Build/source/utils/psutils/psutils-1.17/includeres.pl4
1 files changed, 1 insertions, 3 deletions
diff --git a/Build/source/utils/psutils/psutils-1.17/includeres.pl b/Build/source/utils/psutils/psutils-1.17/includeres.pl
index 083e0bfa52e..48fa24f10d0 100644
--- a/Build/source/utils/psutils/psutils-1.17/includeres.pl
+++ b/Build/source/utils/psutils/psutils-1.17/includeres.pl
@@ -28,9 +28,7 @@ while (<>) {
local($comment, @res) = split(/\s+/);
local($type) = defined($type{$comment}) ? $type{$comment} : shift(@res);
local($name) = &filename(@res);
- local($inc) = ""; # system include directory
- if (open(RES, $name) || open(RES, "$name$extn{$type}") ||
- open(RES, "$inc/$name") || open(RES, "$inc/$name$extn{$type}")) {
+ if (open(RES, $name) || open(RES, "$name$extn{$type}")) {
while (<RES>) {
print $_;
}