summaryrefslogtreecommitdiffstats
path: root/meta-selftest/recipes-test/wrapper/files
diff options
context:
space:
mode:
authorPaulo Neves <ptsneves@gmail.com>2022-06-14 17:11:04 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-07-01 11:53:36 +0100
commit6edc1fffcbe1405d8c309a75643d7d6cd9a92848 (patch)
treef1fe31312e4331ac8ca09c46091cdc3e2c8fb971 /meta-selftest/recipes-test/wrapper/files
parent2a96719a201cb7b8db774718adec89dbd7e1aec3 (diff)
downloadopenembedded-core-6edc1fffcbe1405d8c309a75643d7d6cd9a92848.tar.gz
utils: Add cmdline_shebang_wrapper util.
Useful to work around shebang relocation issues, where shebangs are too long or have arguments in them, thus preventing them from using the /usr/bin/env shebang. Signed-off-by: Paulo Neves <ptsneves@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta-selftest/recipes-test/wrapper/files')
-rw-r--r--meta-selftest/recipes-test/wrapper/files/test.awk2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta-selftest/recipes-test/wrapper/files/test.awk b/meta-selftest/recipes-test/wrapper/files/test.awk
new file mode 100644
index 0000000000..91429197b1
--- /dev/null
+++ b/meta-selftest/recipes-test/wrapper/files/test.awk
@@ -0,0 +1,2 @@
+#! @AWK_BIN@ -f
+BEGIN { print "Don't Panic!" }