Hi! On Fri, 18 Jul 2014 19:29:07 -0400, David Michael <fedora....@gmail.com> wrote: > I tried running mig on a system without Perl ealier with bad results. > Perl seems to be used only for functionality that is also provided by > GNU coreutils (which is already required, e.g. for dirname). Does it > make sense to drop the Perl command in favor of using realpath here?
> -libexecdir_rel=$(perl -MFile::Spec -e 'print > File::Spec->abs2rel("'"$libexecdir"'","'"$bindir"'")') > +libexecdir_rel=$(realpath --relative-to="$bindir" "$libexecdir") Thanks for the patch, and I'd be happy to apply that, however, on four arbitrary (Debian, Ubuntu, Trisquel) systems that I just tried, I either see: »realpath: unrecognized option '--relative-to'«, or »bash: realpath: command not found«, whereas the Perl variant works on all of these. Grüße, Thomas
pgp5ZWrZCBfNo.pgp
Description: PGP signature