sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[SM-Commit] GIT changes to master sorcery by Jaka Kranjc (c0ff54d58b1e3c8f45b7218dd53b45fcb71bb2df)
- From: Jaka Kranjc <scm AT sourcemage.org>
- To: sm-commit AT lists.ibiblio.org
- Subject: [SM-Commit] GIT changes to master sorcery by Jaka Kranjc (c0ff54d58b1e3c8f45b7218dd53b45fcb71bb2df)
- Date: Sat, 1 Jan 2011 07:16:05 -0600
GIT changes to master sorcery by Jaka Kranjc <lynxlynxlynx AT sourcemage.org>:
ChangeLog | 3 +++
var/lib/sorcery/modules/libsorcery | 2 ++
2 files changed, 5 insertions(+)
New commits:
commit c0ff54d58b1e3c8f45b7218dd53b45fcb71bb2df
Author: Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
Commit: Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
libsorcery: avoid passing bad parameters when PAGER has none
diff --git a/ChangeLog b/ChangeLog
index 75ee1af..be8df64 100755
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+2010-01-01 Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
+ * libsorcery: avoid passing bad parameters when PAGER has none
+
2010-12-30 Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
* libtrack, common: newer installwatch has a different log variable
#13873
* libsummon: skip some more files in source_sanity
diff --git a/var/lib/sorcery/modules/libsorcery
b/var/lib/sorcery/modules/libsorcery
index dbbf5ec..cf0afb9 100755
--- a/var/lib/sorcery/modules/libsorcery
+++ b/var/lib/sorcery/modules/libsorcery
@@ -1288,6 +1288,8 @@ function set_pager() {
local pager_prog
local pager_params=${PAGER#* }
smgl_basename "${PAGER%% *}" pager_prog
+ # setting PAGER to a single word would give bad parameters
+ [[ $pager_prog == $PAGER ]] && unset pager_params
# TODO: add any needed options for the rest of the pagers
case $pager_prog in
- [SM-Commit] GIT changes to master sorcery by Jaka Kranjc (c0ff54d58b1e3c8f45b7218dd53b45fcb71bb2df), Jaka Kranjc, 01/01/2011
Archive powered by MHonArc 2.6.24.