On 5 May 2007, at 20:41, [EMAIL PROTECTED] wrote:

Revision 24832 Author [EMAIL PROTECTED] Date 2007-05-05 17:41:51 -0700 (Sat, 05 May 2007) Log MessageStore readline history in ~/.macports/.history instead of ~/.port_history

Why ~/.macports/.history and not ~/.macports/history (why a .file in a .dir)?

And while I'm asking why not use ~/Library/Application Support/ Macports instead of ~/.macports? Isn't it the Apple way to use the Library instead of .dirs?

Modified Paths
trunk/base/src/port/port.tcl
Diff
Modified: trunk/base/src/port/port.tcl (24831 => 24832) --- trunk/ base/src/port/port.tcl 2007-05-06 00:35:02 UTC (rev 24831) +++ trunk/base/src/port/port.tcl 2007-05-06 00:41:51 UTC (rev 24832) @@ -2434,13 +2434,14 @@ proc process_command_file { in } { global current_portdir + global darwinports::autoconf::macports_user_dir # Initialize readline set isstdin [string match $in "stdin"] set name "port" set use_readline [expr $isstdin && [readline init $name]] - set history_file [file normalize "~/.${name}_history"] - + set history_file [file normalize "${macports_user_dir}/.history"] + # Read readline history if {$use_readline} { rl_history read $history_file
_______________________________________________
macports-changes mailing list
[EMAIL PROTECTED]
http://lists.macosforge.org/mailman/listinfo/macports-changes



Randall Wood
[EMAIL PROTECTED]
http://shyramblings.blogspot.com

"The rules are simple: The ball is round. The game lasts 90 minutes. All the
rest is just philosophy."


_______________________________________________
macports-dev mailing list
macports-dev@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo/macports-dev

Reply via email to