RKolodziejczxyk
2015-06-05 bbe74734cca27546ce03f36649adc8056f2ce803
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
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