cine-io/android-ffmpeg-with-rtmp

running ./build.sh results in bash complaining about invalid option

Opened this issue · 0 comments

Hi. We are trying to run a script to restart all weblogic instances on rhel 7 but the log show next error:

/etc/init.d/cognos restartall > /opt/cognos/cron_restart.log 2>&1

LOG FILE:
: invalid option
Usage: /bin/bash [GNU long option] [option] ...
/bin/bash [GNU long option] [option] script-file ...
GNU long options:
--debug
--debugger
--dump-po-strings
--dump-strings
--help
--init-file
--login
--noediting
--noprofile
--norc
--posix
--protected
--rcfile
--rpm-requires
--restricted
--verbose
--version
Shell options:
-irsD or -c command or -O shopt_option (invocation only)
-abefhkmnptuvxBCHP or -o option

How can I fix it? i have:
bash --version
GNU bash, version 4.2.46(2)-release (x86_64-redhat-linux-gnu)

uname -r
3.10.0-693.21.1.el7.x86_64