zopencommunity / perlport

Perl programming language
Apache License 2.0
6 stars 3 forks source link

Perl script to generate .env should put a '/' after the perl directory #50

Closed MikeFultonDev closed 2 years ago

MikeFultonDev commented 2 years ago

Change:

for libperl in $(find ${mydir} -name "libperl.so"); do

to:

for libperl in $(find ${mydir}/ -name "libperl.so"); do

and then if 'mydir' happens to be a symbolic link to another directory (e.g. perl being a symbolic link to perl5.blead.20220809_223700.zos) then the LIBPATH will still get set up properly.l