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:
parent
7e224ab4df
commit
fbfba36a1e
@ -1,3 +1,5 @@
|
||||
#!/bin/bash source-this-script
|
||||
#
|
||||
. /etc/build.info
|
||||
|
||||
#
|
||||
|
Loading…
x
Reference in New Issue
Block a user