From d02c2b1fb2c663f4486834f7d8f43b1db7172fa2 Mon Sep 17 00:00:00 2001 From: Kai Germaschewski Date: Wed, 5 Jun 2002 02:19:54 -0500 Subject: kbuild: Fix calling of scripts We source some scripts, but still pass parameters to them, e.g. . mk_version_h $@ $(KERNELRELEASE) $(VERSION) ... This does not work for all kinds of /bin/sh (it does for bash, that's why I did not notice). The fix is easy: Just mark the scripts executable and call instead of source them. Unfortunately, patch(1) doesn't understand about propagating chmod. bk does, so changing the tree isn't hard, and we introduce an explicit chmod a+x executed during the build for propagating this change into those trees which get "traditionally" patched up. --- scripts/kernel-doc | 0 1 file changed, 0 insertions(+), 0 deletions(-) mode change 100644 => 100755 scripts/kernel-doc (limited to 'scripts/kernel-doc') diff --git a/scripts/kernel-doc b/scripts/kernel-doc old mode 100644 new mode 100755 -- cgit v1.2.3