aboutsummaryrefslogtreecommitdiff
path: root/sbolint
diff options
context:
space:
mode:
Diffstat (limited to 'sbolint')
-rwxr-xr-xsbolint10
1 files changed, 5 insertions, 5 deletions
diff --git a/sbolint b/sbolint
index 0c70e61..abce9c3 100755
--- a/sbolint
+++ b/sbolint
@@ -148,7 +148,7 @@ DOS \r\n), and the last line of each must have a \n.
=item -
The SlackBuild script must exist, with mode 0755 (or 0644, if in a git repo),
-and be a I<#!/bin/sh> script.
+and be a I<#!/bin/bash> script.
=item -
@@ -991,7 +991,7 @@ sub curl_head_request {
# NOT going to police the script too much. Would end up rewriting most of
# the shell, in perl. Plus, it'd become a straitjacket. Here's what I'll
# implement:
-# - #!/bin/sh on line 1
+# - #!/bin/bash on line 1
# - PRGNAM must match $buildname
# - VERSION must match the .info VERSION
# - BUILD line must be present
@@ -1012,9 +1012,9 @@ sub check_script {
return unless scalar @lines;
if($lines[0] !~ /^#!/) {
- log_error("$file:1: missing or invalid shebang line (should be '#!/bin/sh')");
- } elsif($lines[0] !~ m,#!/bin/sh(?: (?:-e|-eu|-ue|-e -u|-u -e))?$,) {
- log_warning("$file:1: shebang line should be #!/bin/sh (possibly with -e/-u arg(s)), not '$lines[0]'");
+ log_error("$file:1: missing or invalid shebang line (should be '#!/bin/bash')");
+ } elsif($lines[0] !~ m,#!/bin/bash(?: (?:-e|-eu|-ue|-e -u|-u -e))?$,) {
+ log_warning("$file:1: shebang line should be #!/bin/bash (possibly with -e/-u arg(s)), not '$lines[0]'");
}
my $lineno = 0;