"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "docker/entrypoint.sh" between
argbash-2.9.0.tar.gz and argbash-2.10.0.tar.gz

About: argbash is a bash code generator that can assist you in writing scripts that accept arguments.

entrypoint.sh  (argbash-2.9.0):entrypoint.sh  (argbash-2.10.0)
#!/bin/sh #!/bin/sh
LAUNCH="argbash" LAUNCH="argbash"
test "$PROGRAM" = 'argbash-init' && LAUNCH="argbash-init" || true test "$PROGRAM" = 'argbash-init' && LAUNCH="argbash-init" || true
encountered_output_option=no
for arg in "$@"; do
if printf "%s" "$arg" | grep -q -e '^\(-o\|--output\)\>'; then
encountered_output_option=yes
break
fi
done
"${LAUNCH}" "$@" "${LAUNCH}" "$@"
if test "$encountered_output_option" != yes; then
echo '# It seems that you use the output to stdout.' >&2
echo '# Beware, docker is likely to change line endings to DOS line endin
gs.' >&2
echo '# This will make the script not executable on Unixes, unless you co
nvert \r\n to \n' >&2
echo '# Use the -o|--output option to save the output to a file.' >&2
fi
 End of changes. 2 change blocks. 
8 lines changed or deleted 0 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)