FreeCalypso > hg > freecalypso-tools
comparison loadtools/ltmain.c @ 227:6616f4e35579
fc-loadtool: exec command now looks for scripts in the current directory
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Thu, 03 Aug 2017 01:21:45 +0000 |
parents | e7502631a0f9 |
children | 96332d875fc9 |
comparison
equal
deleted
inserted
replaced
226:e7d5ce499693 | 227:6616f4e35579 |
---|---|
81 if (tpinterf_pass_output(1) < 0) | 81 if (tpinterf_pass_output(1) < 0) |
82 exit(1); | 82 exit(1); |
83 putchar('\n'); | 83 putchar('\n'); |
84 if (hw_init_script[0]) { | 84 if (hw_init_script[0]) { |
85 printf("Executing init script %s\n", hw_init_script); | 85 printf("Executing init script %s\n", hw_init_script); |
86 loadtool_exec_script(hw_init_script); | 86 loadtool_exec_script(hw_init_script, 1); |
87 } | 87 } |
88 } | 88 } |
89 for (;;) { | 89 for (;;) { |
90 if (isatty(0)) { | 90 if (isatty(0)) { |
91 fputs("loadtool> ", stdout); | 91 fputs("loadtool> ", stdout); |