Change to allow relative paths.

This commit is contained in:
Janet B. Anderson
2001-03-22 03:08:28 +00:00
parent 31454ef08a
commit ca640904a0
2 changed files with 2 additions and 0 deletions

View File

@@ -29,6 +29,7 @@ print OUT "appbin = \"$appbin\"\n";
$top = $cwd;
$top =~ s/\/iocBoot.*//;
$applications{TOP} = $top;
print OUT "top = \"$top\"\n";
$topbin = "${top}/bin/${arch}";
#skip check that top/bin/${arch} exists; src may not have been builT

View File

@@ -173,6 +173,7 @@ sub get_commandline_opts { #no args
$top = $epics_base . "/templates/makeBaseApp/top";
}
}
$top=~s'^\$\(TOP\)\/'';
"$top" or Cleanup(1, "Cannot find template top directory");
$app_top = $top;
$app_top=~s'^\.\.'$(TOP)/..';