Ticket #5 (closed task: fixed)
BASHism in build-pkg
| Reported by: | chewie@… | Owned by: | anonymous |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.4.1 |
| Component: | exceptions | Version: | |
| Severity: | major | Keywords: | build-pkg |
| Cc: |
Description
I realize you're probably going to drop the build-pkg shell script anyway, but the function keyword is a BASHism. POSIX function definitions are simply:
name () command
Where command could be a single command or list of commands. dash is a good POSIX shell that you could run the script through to check syntax:
dash -n SCRIPT
Change History
Note: See
TracTickets for help on using
tickets.
