From fbfba36a1eb6fc626561e666f27de2b8fa9f090e Mon Sep 17 00:00:00 2001 From: Saul Wold Date: Fri, 20 Sep 2019 10:21:26 -0700 Subject: [PATCH] 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 --- tsconfig/tsconfig/scripts/tsconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tsconfig/tsconfig/scripts/tsconfig b/tsconfig/tsconfig/scripts/tsconfig index fad6142b6f..11fe2a1dc6 100644 --- a/tsconfig/tsconfig/scripts/tsconfig +++ b/tsconfig/tsconfig/scripts/tsconfig @@ -1,3 +1,5 @@ +#!/bin/bash source-this-script +# . /etc/build.info #