Closed aztech55 closed 6 months ago
Shouldn't ignoreShebang = true be enough to avoid the inexistance of perl in /usr/bin?
You also need to make sure /opt/bin
is in your $PATH
-- but I found that, depending on your setup, it still might not work properly. I've adjusted how we spawn exiftool
in this next version, so at least you'll see a proper error message.
Thanks for taking the time to report this!
I just released v24.2.0 with this fix :tada:
@mceachen , Thank you very much for your quick work!!!
Describe the bug Hello! I am using home-gallery which depends on exiftools-vendored. I belive that ignoreShebang property when set to true is not working as it should.
To Reproduce
/usr/bin/perl
must not existWe can observe that:
true
As a workaround, i have created a symlink from my actual perl path: /opt/bin/perl -> /usr/bin/perl.
Now ignoreSheband is false, and version is displayed.
I believe that exiftoolPath is being called directly, instead of calling perl with exiftoolPath.
Expected behavior Shouldn't
ignoreShebang = true
be enough to avoid the inexistance of perl in/usr/bin
?Environment
WD My Cloud EX2 Ultra OS5 5.27.157
with EntwareLinux MyCloudEX2Ultra 4.14.22-armada-18.09.3 #1 SMP Thu Oct 27 08:25:39 UTC 2022 ga-18.09.3 Build-30 armv7l GNU/Linux
Installed entware packages
perl
andperlbase-cpan
(for strict)Perl
v5.28.1
Node.jsv18.17.1
Thank you!