-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix looping bat files and add support for non-default file extensions #591
base: main
Are you sure you want to change the base?
Conversation
rem try with default extension of obj | ||
set z_fext=.obj |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lines 25-26. obj should be OBJ.
rem try with default extension of cbl | ||
set z_fext=.cbl |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lines 25-26. cbl should be CBL.
set /P z_file=Hit Enter for more help or suppply name of cbl file to compile: | ||
:retry | ||
set z_file= | ||
set /P z_file=Hit Enter for more help or supply name of cbl file to compile: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cbl should be CBL.
rem try with default extension of cbl | ||
set z_fext=.cbl |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lines 25-26. cbl should be CBL.
rem try with default extension of cbl | ||
set z_fext=.cbl |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lines 25-26. cbl should be CBL.
set /P z_file=Hit Enter for more help or suppply name of cbl file to compile and link: | ||
:retry | ||
set z_file= | ||
set /P z_file=Hit Enter for more help or supply name of cbl file to compile and link: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cbl should be CBL.
@@ -11,20 +11,23 @@ if /I "%1" == "tron" (set z_TraceMode=tron | |||
set /A z_NestLevel=%z_NestLevel%+1 | |||
rem ----- Lvl(%z_NestLevel%) Start %0 %1 %2 %3 %4 %5 %6 %7 %8 %9 | |||
|
|||
if /I %1. == . (set /P z_file=Hit Enter for help or suppply name of cbl file to compile: | |||
if /I %1. == . (set /P z_file=Hit Enter for help or supply name of cbl file to compile: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cbl should be CBL.
@@ -11,20 +11,23 @@ if /I "%1" == "tron" (set z_TraceMode=tron | |||
set /A z_NestLevel=%z_NestLevel%+1 | |||
rem ----- Lvl(%z_NestLevel%) Start %0 %1 %2 %3 %4 %5 %6 %7 %8 %9 | |||
|
|||
if /I %1. == . (set /P z_file=Hit Enter for help or suppply name of cbl file to compile and link: | |||
if /I %1. == . (set /P z_file=Hit Enter for help or supply name of cbl file to compile and link: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cbl should be CBL.
@@ -11,20 +11,23 @@ if /I "%1" == "tron" (set z_TraceMode=tron | |||
set /A z_NestLevel=%z_NestLevel%+1 | |||
rem ----- Lvl(%z_NestLevel%) Start %0 %1 %2 %3 %4 %5 %6 %7 %8 %9 | |||
|
|||
if /I %1. == . (set /P z_file=Hit Enter for help or suppply name of cbl file to compile, link, and execute: | |||
if /I %1. == . (set /P z_file=Hit Enter for help or supply name of cbl file to compile, link, and execute: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cbl should be CBL.
set /P z_file=Hit Enter for more help or suppply name of cbl file to compile, link, and execute: | ||
:retry | ||
set z_file= | ||
set /P z_file=Hit Enter for more help or supply name of cbl file to compile, link, and execute: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cbl should be CBL
@@ -11,28 +11,31 @@ if /I "%1" == "tron" (set z_TraceMode=tron | |||
set /A z_NestLevel=%z_NestLevel%+1 | |||
rem ----- Lvl(%z_NestLevel%) Start %0 %1 %2 %3 %4 %5 %6 %7 %8 %9 | |||
|
|||
if /I %1. == . (set /P z_file=Hit Enter for help or suppply name of obj file to link: | |||
if /I %1. == . (set /P z_file=Hit Enter for help or supply name of obj file to link: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
obj should be OBJ
set /P z_file=Hit Enter for more help or suppply name of obj file to link: | ||
:retry | ||
set z_file= | ||
set /P z_file=Hit Enter for more help or supply name of obj file to link: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
obj should be OBJ
Fixes Issue #581 bat files for assembly c.a. do not accept non-default file extensions
Fixes Issue #582 bat files go into a loop when input file does not exist
Fixes Issue #590 bldjar.bat procedure fails to copy created jar file