From a29a26f1389e43621ab457ee658b2f7b694af2c2 Mon Sep 17 00:00:00 2001 From: Scott K Logan Date: Wed, 24 Jan 2024 15:05:36 -0600 Subject: [PATCH] Drop shebang from upload_doc.sh (#408) This file isn't directly executable in any of its forms: * When checked into the repository, it is a template * When installed by gz-cmake, it is still a template * When expanded in downstream packages, it isn't explicitly given executable permission, requiring an explicit interpreter invocation Additionally, the usage for this script instructs the user to explicitly provide the interpreter. To avoid misleading users and linters into believing that this file should be executed directly, drop the (currently unused) shebang. Signed-off-by: Scott K Logan --- cmake/upload_doc.sh.in | 2 -- 1 file changed, 2 deletions(-) diff --git a/cmake/upload_doc.sh.in b/cmake/upload_doc.sh.in index 163241d4..7516fd64 100644 --- a/cmake/upload_doc.sh.in +++ b/cmake/upload_doc.sh.in @@ -1,5 +1,3 @@ -#!/bin/sh - echo "Usage: sh upload_doc.sh [y/n]" echo " Optional [y/n] argument indicates whether to upload the docs to S3 automatically."