Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use declare to write the build() function
The build() function was extracted from the SLKBUILD using sed, reading the line that starts with "build()" and ending at the first line that has a closing brace as the first and only character in the line. But this could very well not be the actual closing brace of the build() function. So now, the declare internal bash command is used to write the function to the buildscript, which fixes this. This closes #4
- Loading branch information
fd25cc3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good !! Until now I always have to put a space in front of my closing curling brackets for sed not to match it. This is great \o/