Skip to content
Snippets Groups Projects
Commit 1fa1bcea authored by Marius Cramer's avatar Marius Cramer
Browse files

Merge branch 'bash' into 'master'

Dash problem

Define bash as a parser, some systems can have "dash" as a "sh" that will end with errors.

/usr/local/ispconfig/server/cron_daily.sh

[: 10: root: unexpected operator

[: 10: root: unexpected operator

See merge request !201
parents f0dfa9f4 bbe74734
No related branches found
No related tags found
No related merge requests found
#!/bin/sh #!/bin/bash
PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin
......
#!/bin/sh #!/bin/bash
PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin
set -e set -e
cd /etc/getmail cd /etc/getmail
......
#!/bin/sh #!/bin/bash
PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment