makeBaseApp.pl: Allow relative paths to $0

This commit is contained in:
Andrew Johnson
2021-06-14 18:22:23 -05:00
parent 3c329c1b48
commit f825136f65
+1 -1
View File
@@ -168,7 +168,7 @@ sub get_commandline_opts { #no args
Cleanup(0) if $opt_h;
# Locate epics_base
my ($command) = UnixPath($0);
my ($command) = UnixPath(AbsPath($0));
if ($opt_b) { # first choice is -b base
$epics_base = UnixPath($opt_b);
} elsif ($release{"EPICS_BASE"}) { # second choice is configure/RELEASE