Skip to content

Commit bbe7473

Browse files
RKolodziejczxykRKolodziejczxyk
authored andcommitted
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
1 parent f0dfa9f commit bbe7473

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

server/cron.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/sh
1+
#!/bin/bash
22

33
PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin
44

server/scripts/run-getmail.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/sh
1+
#!/bin/bash
22
PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin
33
set -e
44
cd /etc/getmail

server/server.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/sh
1+
#!/bin/bash
22

33

44
PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin

0 commit comments

Comments
 (0)