Add shebang header to force failure if run

Rpmlint show the following error for the tsconfig configuration script,
since tsconfig is not actually executable force an error if it is tried.
tsconfig should really be located in another directory that does not
expect executables.

[    6s] tsconfig.x86_64: E: script-without-shebang (Badness: 2) /usr/bin/tsconfig
[    6s] This text file has executable bits set or is located in a path dedicated for
[    6s] executables, but lacks a shebang and cannot thus be executed.  If the file is
[    6s] meant to be an executable script, add the shebang, otherwise remove the
[    6s] executable bits or move the file elsewhere.

Story: 2006564
Task: 36665
Change-Id: If52becbb3f6f7cc4833d878a1ded550497101ea9
Signed-off-by: Saul Wold <sgw@linux.intel.com>
This commit is contained in:
Saul Wold 2019-09-20 10:21:26 -07:00
parent 7e224ab4df
commit fbfba36a1e
1 changed files with 2 additions and 0 deletions

View File

@ -1,3 +1,5 @@
#!/bin/bash source-this-script
#
. /etc/build.info
#