mirror of
git://projects.qi-hardware.com/openwrt-packages.git
synced 2024-11-25 17:54:39 +02:00
octave: fix pager flags to work with busybox'es less
This commit is contained in:
parent
e013ed5a3b
commit
5d05b1a54e
13
octave/patches/030-pager.patch
Normal file
13
octave/patches/030-pager.patch
Normal file
@ -0,0 +1,13 @@
|
||||
Index: octave-3.2.4/scripts/startup/main-rcfile
|
||||
===================================================================
|
||||
--- octave-3.2.4.orig/scripts/startup/main-rcfile 2011-01-02 16:50:10.000000000 +0100
|
||||
+++ octave-3.2.4/scripts/startup/main-rcfile 2011-01-02 16:50:47.000000000 +0100
|
||||
@@ -11,7 +11,7 @@
|
||||
filesep, "inputrc"));
|
||||
|
||||
if (strcmp (PAGER (), "less") && isempty (getenv ("LESS")))
|
||||
- PAGER_FLAGS ('-e -X -P"-- less ?pB(%pB\\%):--. (f)orward, (b)ack, (q)uit$"');
|
||||
+ PAGER_FLAGS ('-E');
|
||||
endif
|
||||
|
||||
## This appears here instead of in the pkg/PKG_ADD file so that --norc
|
Loading…
Reference in New Issue
Block a user