[X2Go-Commits] [nx-libs] 222/429: shellcheck: Fix SC2148 issues

git-admin at x2go.org git-admin at x2go.org
Mon Oct 18 09:36:37 CEST 2021


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch 3.6.x
in repository nx-libs.

commit cb6e3b7d33923b177b0b8ffbe61d6c5b62c09001
Author: Mario Trangoni <mjtrangoni at gmail.com>
Date:   Sun Jan 31 14:27:45 2021 +0100

    shellcheck: Fix SC2148 issues
    
    See,
    
    $ find . -name "*.sh" | xargs shellcheck -i SC2148
    
    In ./replace.sh line 1:
    ^-- SC2148: Tips depend on target shell and yours is unknown. Add a shebang or a 'shell' directive.
    
    For more information:
      https://www.shellcheck.net/wiki/SC2148 -- Tips depend on target shell and y...
    
    Signed-off-by: Mario Trangoni <mjtrangoni at gmail.com>
---
 replace.sh | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/replace.sh b/replace.sh
index c2b187fda..28ce65aa4 100644
--- a/replace.sh
+++ b/replace.sh
@@ -1,3 +1,5 @@
+#!/bin/bash
+
 # Copyright (C) 2013 Jan Engelhardt <jengelh at inai.de>
 #
 # This program is free software; you can redistribute it and/or modify

--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/nx-libs.git


More information about the x2go-commits mailing list