Foggalong / hardcode-fixer

Fixes Hardcoded Icons
GNU General Public License v3.0
288 stars 49 forks source link

Can't execute #408

Closed olddesklamp closed 1 year ago

olddesklamp commented 1 year ago

Can't execute the script due to a syntax error.

josh@mercury:~/Downloads/git/hardcode-fixer$ sudo sh fix.sh
fix.sh: 19: Syntax error: "(" unexpected
josh@mercury:~/Downloads/git/hardcode-fixer$ 

I just cloned the script minutes before submitting this issue. I'm running the script on Pop!_OS 22.04 using Bash 5.1.16.

SmartFinn commented 1 year ago

Try to replace the command with sudo bash fix.sh. Posix shell (dash) is not supported.