Marius Cramer
2015-06-05 1fa1bcead3a1fc02c1ff81732ce0e561df64822b
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
3 files modified
6 ■■■■ changed files
server/cron.sh 2 ●●● patch | view | raw | blame | history
server/scripts/run-getmail.sh 2 ●●● patch | view | raw | blame | history
server/server.sh 2 ●●● patch | view | raw | blame | history
server/cron.sh
@@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin
server/scripts/run-getmail.sh
@@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin
set -e
cd /etc/getmail
server/server.sh
@@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin