Change to allow relative paths.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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)/..';
|
||||
|
||||
Reference in New Issue
Block a user