nixpkgs/pkgs/tools/misc/lesspipe/override-shell-detection.patch
Kaz Wesley 51b7f3eac4
lesspipe: fix cross-compile (#141028)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2021-10-18 15:47:55 +02:00

13 lines
274 B
Diff

--- a/configure
+++ b/configure
@@ -101,7 +101,8 @@
open OUT, ">lesspipe.sh.tmp";
my $in = 1;
my $anyin;
-my $shell = check_shell_vers();
+my $shell = $opt_shell;
+print OUT "#!$shell\n";
# ask if syntax highlighting should be included
$ifsyntax = '';
if ($opt_yes) {