Re: invoking editor via "port ed"
James Berry <[email protected]>
| Newsgroups | gmane.os.opendarwin.darwinports |
|---|---|
| Message-ID | <[email protected]> |
On Aug 4, 2006, at 4:53 PM, Mark Duling wrote:
> After updating to DP 1.3.1 I can no longer use the editor via the
> EDITOR
> variable.
Mark,
Thanks for the report. (I) apparently introduced a bug in that code.
I just checked in a fix to port.tcl.
This is what I get for interleaving coding in tcl with other languages!
James.
> I use a ~/.bash_profile file to set that stuff. Here is the
> error I get.
>
> Error: unable to invoke editor /usr/bin/pico: Error opening terminal:
> unknown.
>
> Mark
Index: port.tcl
===================================================================
RCS file: /Volumes/src/cvs/od/proj/darwinports/base/src/port/
port.tcl,v
retrieving revision 1.163
retrieving revision 1.164
diff -u -r1.163 -r1.164
--- port.tcl 1 Aug 2006 03:58:11 -0000 1.163
+++ port.tcl 5 Aug 2006 00:28:27 -0000 1.164
@@ -2,7 +2,7 @@
#\
exec @TCLSH@ "$0" "$@"
# port.tcl
-# $Id: port.tcl,v 1.163 2006/08/01 03:58:11 jberry Exp $
+# $Id: port.tcl,v 1.164 2006/08/05 00:28:27 jberry Exp $
#
# Copyright (c) 2002-2006 DarwinPorts organization
# Copyright (c) 2004 Robert Shaw <[email protected]>
@@ -1851,7 +1851,7 @@
proc action_portcmds { action portlist opts } {
# Operations on the port's directory and Portfile
- global env, boot_env
+ global env boot_env
global current_portdir
set status 0