Commit bbe74734 authored by RKolodziejczxyk's avatar RKolodziejczxyk

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
parent f0dfa9f4
#!/bin/sh
#!/bin/bash
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
set -e
cd /etc/getmail
......
#!/bin/sh
#!/bin/bash
PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment