summary refs log blame commit diff
path: root/pkgs/tools/misc/lesspipe/override-shell-detection.patch
blob: 08ef7e07b7cd0d4d1383cdc4653a1fa052fb57f0 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12











                                                
--- 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) {