You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the current working directory is changed to $distdir.
However the $numbers_script is then later executed in the $distdir as it does not change to a different directory itself.
This is a problem because the $numbers_script (more specifically the arguments as these are paths to files) expect to still be in $reportdir. This makes the $numbers_script fail because it cannot find the files it was given as arguments.
I propose always executing chdir "$reportdir"; like this:
`my $numbers_file = "basic.$outname.num.xls";
unless (-e "$distdir/$numbers_file") {
chdir "$reportdir";
my $sys = "$numbers_script basic.$outname $daner_all @daner_single\n";`
The text was updated successfully, but these errors were encountered:
beeemT
added a commit
to beeemT/ricopili
that referenced
this issue
Sep 26, 2019
When executing the postimp_navi script with the --gwclump flag here
ricopili/rp_bin/postimp_navi
Lines 4579 to 4580 in 757fb9d
the current working directory is changed to $distdir.
However the $numbers_script is then later executed in the $distdir as it does not change to a different directory itself.
ricopili/rp_bin/postimp_navi
Lines 4635 to 4648 in 757fb9d
This is a problem because the $numbers_script (more specifically the arguments as these are paths to files) expect to still be in $reportdir. This makes the $numbers_script fail because it cannot find the files it was given as arguments.
I propose always executing
chdir "$reportdir";
like this:`my $numbers_file = "basic.$outname.num.xls";
unless (-e "$distdir/$numbers_file") {
The text was updated successfully, but these errors were encountered: