Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Syntax error in script (line 31) #38

Open
racer2220 opened this issue Feb 13, 2023 · 2 comments
Open

Syntax error in script (line 31) #38

racer2220 opened this issue Feb 13, 2023 · 2 comments

Comments

@racer2220
Copy link

Hello,

When creating an executable script (solvable_files.sh) it appears to be a syntax errro in line 31 (see screenshot)
Is this known an how can I fix it? The code has been copy pasted from github. (line 31 should be:
function correct_mtime() {

Greetings
grafik
grafik

@artonge
Copy link
Collaborator

artonge commented Feb 13, 2023

The script should work with bash. You are using sh.

@ColiZei
Copy link

ColiZei commented Apr 16, 2023

I have an error to.
In my case

./solvable_files.sh: line 171: syntax error near unexpected token `then'
$ echo $SHELL
/bin/bash

Any help?
Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants