Skip to content

Commit

Permalink
removed double info about __i_am_main_script
Browse files Browse the repository at this point in the history
  • Loading branch information
mstreuhofer committed Feb 10, 2017
1 parent 33cb87b commit 2eacc26
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion main.sh
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,6 @@ info "__file: ${__file}"
info "__dir: ${__dir}"
info "__base: ${__base}"
info "OSTYPE: ${OSTYPE}"
info "Script called directly? $([[ "${__i_am_main_script}" = "1" ]] && echo "yes" || echo "no")"

info "arg_f: ${arg_f}"
info "arg_d: ${arg_d}"
Expand Down
1 change: 0 additions & 1 deletion test/fixture/main-debug.stdio
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ ACCPTST:STDIO_REPLACE_DATETIMES
{datetime} UTC [ info] __dir: {root}
{datetime} UTC [ info] __base: main
{datetime} UTC [ info] OSTYPE: {OSTYPE}
{datetime} UTC [ info] Script called directly? yes
{datetime} UTC [ info] arg_f: {tmpdir}/x
{datetime} UTC [ info] arg_d: 0
{datetime} UTC [ info] arg_v: 0
Expand Down
1 change: 0 additions & 1 deletion test/fixture/main-nocolor.stdio
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ ACCPTST:STDIO_REPLACE_DATETIMES
{datetime} UTC [ info] __dir: {root}
{datetime} UTC [ info] __base: main
{datetime} UTC [ info] OSTYPE: {OSTYPE}
{datetime} UTC [ info] Script called directly? yes
{datetime} UTC [ info] arg_f: {tmpdir}/x
{datetime} UTC [ info] arg_d: 0
{datetime} UTC [ info] arg_v: 0
Expand Down

0 comments on commit 2eacc26

Please sign in to comment.