BlueBuild failing to run scripts on local rebase
Just started to encounter an issue when trying to build an image locally using bluebuild CLI.
Whenever I run the scripts module, the build fails when it tries to run a specified script. I have two scripts, and they both suddenly have this issue. I haven't changed these scripts in a while, but perhaps I missed a note that they need to be relocated?
The error I'm getting:
And one of the scripts it's happening with: https://github.com/BrodyB/ublue-brody/blob/main/files/scripts/removeBluefinWallpapers.sh
Whenever I run the scripts module, the build fails when it tries to run a specified script. I have two scripts, and they both suddenly have this issue. I haven't changed these scripts in a while, but perhaps I missed a note that they need to be relocated?
The error I'm getting:
And one of the scripts it's happening with: https://github.com/BrodyB/ublue-brody/blob/main/files/scripts/removeBluefinWallpapers.sh
GitHub
Contribute to BrodyB/ublue-brody development by creating an account on GitHub.
Solution
This looks like this is a carriage return character. That's usually inserted when it is being edited on a Windows based machine. Try deleting the line and re-adding it in a Linux based environment. That might get rid of that carriage return character in your script.