summaryrefslogtreecommitdiff
path: root/scripts/mkcompile_h
diff options
context:
space:
mode:
authorKai Germaschewski <kai@tp1.ruhr-uni-bochum.de>2002-06-05 02:19:54 -0500
committerKai Germaschewski <kai@tp1.ruhr-uni-bochum.de>2002-06-05 02:19:54 -0500
commitd02c2b1fb2c663f4486834f7d8f43b1db7172fa2 (patch)
tree9ac07d46d646c15d05c9ce21e902ca03bcd825d9 /scripts/mkcompile_h
parent4a2fa6ce790dd9291e83e121fe6a6eb4c8fa1450 (diff)
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.
Diffstat (limited to 'scripts/mkcompile_h')
-rwxr-xr-x[-rw-r--r--]scripts/mkcompile_h0
1 files changed, 0 insertions, 0 deletions
diff --git a/scripts/mkcompile_h b/scripts/mkcompile_h
index e18fc4f263e3..e18fc4f263e3 100644..100755
--- a/scripts/mkcompile_h
+++ b/scripts/mkcompile_h