aboutsummaryrefslogtreecommitdiffstats
path: root/docs/xen-headers
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2012-06-27 09:36:43 +0200
committerJan Beulich <jbeulich@suse.com>2012-06-27 09:36:43 +0200
commit8b96df45aa404163e272b9041af1611658a02f2c (patch)
treeca7bbe66479dc18b245cb8e01446ae725a3518f5 /docs/xen-headers
parente57d79c9e2eabc1ed18dc25593bee21a509dbc62 (diff)
downloadxen-8b96df45aa404163e272b9041af1611658a02f2c.tar.gz
xen-8b96df45aa404163e272b9041af1611658a02f2c.tar.bz2
xen-8b96df45aa404163e272b9041af1611658a02f2c.zip
docs/xen-headers: allow headers to be symlinks
There's no apparent reason not to permit this, and since we don't support out-of-source-tree builds, the least overhead way of doing multiple, differently configured (perhaps different architecture) builds from a single source tree is to create symlinked build trees. Signed-off-by: Jan Beulich <jbeulich@suse.com> Acked-by: Ian Campbell <ian.campbell@citrix.com>
Diffstat (limited to 'docs/xen-headers')
-rwxr-xr-xdocs/xen-headers2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/xen-headers b/docs/xen-headers
index c4cf2e4f31..54155632c4 100755
--- a/docs/xen-headers
+++ b/docs/xen-headers
@@ -368,7 +368,7 @@ foreach $pass (qw(1 2)) {
find({ wanted =>
sub {
return unless m/\.h$/;
- lstat $File::Find::name or die "$File::Find::name $!";
+ stat $File::Find::name or die "$File::Find::name $!";
-f _ or die "$File::Find::name";
substr($File::Find::name, 0, 1+length $basedir)
eq "$basedir/"