Added _APPNAME_ to ioc boot stuff.

This commit is contained in:
Andrew Johnson
2003-02-06 17:21:30 +00:00
parent ad68425f39
commit 8ee88feabb
2 changed files with 3 additions and 2 deletions

View File

@@ -120,6 +120,7 @@ if ($opt_i) {
find(\&FCopyTree, "$top/$apptypename");
foreach $ioc ( @ARGV ) {
($appname = $ioc) =~ s/App$//;
$ioc = "ioc" . $ioc unless ($ioc =~ /^ioc/);
if (-d "iocBoot/$ioc") {
print "iocBoot/$ioc exists, not modified.\n";

View File

@@ -1,7 +1,7 @@
#!../../bin/_ARCH_/_IOC_
#!../../bin/_ARCH_/_APPNAME_
## The names of the binary above and .dbd file below will be incorrect
## unless you used the same names for the ioc and the app directory.
dbLoadDatabase("../../dbd/_IOC_.dbd",0,0)
dbLoadDatabase("../../dbd/_APPNAME_.dbd",0,0)
registerRecordDeviceDriver(pdbbase)