* *** SPAM ***
@ 2006-12-10 13:57 Clemens Buchacher
2006-12-10 14:04 ` [PATCH] editor: make sure $EDITOR is executed as a command Clemens Buchacher
0 siblings, 1 reply; 2+ messages in thread
From: Clemens Buchacher @ 2006-12-10 13:57 UTC (permalink / raw)
To: git
Make sure $EDITOR is executed as a command
---
commit 942341e051fdcbb77a6abfbc58cf08ef8cab388d
tree 96e8fd08cdc7c59b0d3d55d7cb5b4302db443aff
parent b6a6e87cb3e1368ad0f78c18fdb6c29dde4ae83e
author Clemens Buchacher <drizzd@aon.at> Sun, 10 Dec 2006 14:37:37 +0100
committer Clemens Buchacher <drizzd@aon.at> Sun, 10 Dec 2006 14:37:37 +0100
cg-Xlib | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/cg-Xlib b/cg-Xlib
index c1262bf..9d04eb4 100755
--- a/cg-Xlib
+++ b/cg-Xlib
@@ -568,7 +568,7 @@ _editor()
actionname="$1"; shift
actionkey="$1"; shift
- ${EDITOR:-vi} "$LOGMSG2"
+ command ${EDITOR:-vi} "$LOGMSG2"
[ -z "$force" ] || return 0
[ ! "$LOGMSG2" -nt "$LOGMSG" ] || return 0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] editor: make sure $EDITOR is executed as a command
2006-12-10 13:57 *** SPAM *** Clemens Buchacher
@ 2006-12-10 14:04 ` Clemens Buchacher
0 siblings, 0 replies; 2+ messages in thread
From: Clemens Buchacher @ 2006-12-10 14:04 UTC (permalink / raw)
To: git
Hi,
Sorry about the missing subject.
Make sure $EDITOR is executed as a command. Otherwise, _editor may fail if
$EDITOR is set to something like 'editor', which is also a function within
cg-Xlib.
Signed-off-by: Clemens Buchacher <drizzd@aon.at>
---
commit 942341e051fdcbb77a6abfbc58cf08ef8cab388d
tree 96e8fd08cdc7c59b0d3d55d7cb5b4302db443aff
parent b6a6e87cb3e1368ad0f78c18fdb6c29dde4ae83e
author Clemens Buchacher <drizzd@aon.at> Sun, 10 Dec 2006 14:37:37 +0100
committer Clemens Buchacher <drizzd@aon.at> Sun, 10 Dec 2006 14:37:37 +0100
cg-Xlib | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/cg-Xlib b/cg-Xlib
index c1262bf..9d04eb4 100755
--- a/cg-Xlib
+++ b/cg-Xlib
@@ -568,7 +568,7 @@ _editor()
actionname="$1"; shift
actionkey="$1"; shift
- ${EDITOR:-vi} "$LOGMSG2"
+ command ${EDITOR:-vi} "$LOGMSG2"
[ -z "$force" ] || return 0
[ ! "$LOGMSG2" -nt "$LOGMSG" ] || return 0
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-12-10 14:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-10 13:57 *** SPAM *** Clemens Buchacher
2006-12-10 14:04 ` [PATCH] editor: make sure $EDITOR is executed as a command Clemens Buchacher
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).