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

Error when bulding: "(" unexpected" #5

Open
AngelBlue01 opened this issue Jul 18, 2024 · 2 comments
Open

Error when bulding: "(" unexpected" #5

AngelBlue01 opened this issue Jul 18, 2024 · 2 comments

Comments

@AngelBlue01
Copy link

When running build.-icons,sh I get this error:

./build-icons.sh: 14: Syntax error: "(" unexpected

I am running Debian 12.

@ClassicOS-Themes
Copy link
Owner

Hmm, just tried to reproduce on a stock Debian 12 container and ran the script - I got some other errors (possibly due to blank lines in the list-files) but it seemed to compile OK. Didn't see any syntax errors.

I then modified the shebang from #!/bin/bash to #!/bin/sh and the script then failed with the same error message you reported above.

So I think one of two things could be happening in your case:

Would you mind reporting back with the output of the following commands?

git show | head - -n 1
ps -p $$
dpkg -S /bin/bash

@AngelBlue01
Copy link
Author

I wasn't clear, I did use the latest version of the script, obtained with a git clone

Here's the output you requested

git show | head - -n 1
commit 6bcd68b781abd682f75dda4f68ef5fd6b71f3f8a
ps -p $$
PID TTY TIME CMD
1026320 pts/3 00:00:00 bash
dpkg -S /bin/bash
bash: /bin/bash

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

2 participants