From 7c44f64a2f20276f49cccae665d1551a0585d327 Mon Sep 17 00:00:00 2001 From: Scott K Logan Date: Wed, 24 Jan 2024 14:32:28 -0600 Subject: [PATCH] Drop shebang from upload_doc.sh 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."