nsdiff icon indicating copy to clipboard operation
nsdiff copied to clipboard

Use /usr/bin/env to fix running it on FreeBSD

Open subbink opened this issue 4 years ago • 2 comments

Currently the scripts use /usr/bin/perl to run the scripts, but on FreeBSD perl is not in /usr/bin, so using /usr/bin/env perl will let the scripts also work on FreeBSD.

subbink avatar May 01 '21 16:05 subbink

Thanks for this suggestion!

One of the things on my todo list is to publish nsdiff on CPAN with the usual perl packaging, so that it's easier to turn into system-specific packages. I'll try to make sure that this also fixes the shebang line on operating systems that don't put perl in the standard place.

I'll leave this pull request open as a reminder.

fanf2 avatar May 01 '21 20:05 fanf2