mirror of
https://github.com/simh/simh.git
synced 2026-02-27 09:09:46 +00:00
SCP: Always define SIM_BIN_NAME even when no directory found in binary path
This commit is contained in:
2
scp.c
2
scp.c
@@ -2910,6 +2910,8 @@ if (*argv[0]) { /* sim name arg? */
|
||||
np = strrchr (nbuf, ']'); /* VMS path separator */
|
||||
if (np != NULL)
|
||||
setenv ("SIM_BIN_NAME", np+1, 1); /* Publish simulator binary name */
|
||||
else
|
||||
setenv ("SIM_BIN_NAME", nbuf, 1); /* Publish simulator binary name */
|
||||
setenv ("SIM_BIN_PATH", argv[0], 1);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user