[50726] trunk/base/src/port/portindex.tcl
toby at macports.org
toby at macports.org
Fri May 8 00:07:14 PDT 2009
Revision: 50726
http://trac.macports.org/changeset/50726
Author: toby at macports.org
Date: 2009-05-08 00:07:00 -0700 (Fri, 08 May 2009)
Log Message:
-----------
fix indentation
Modified Paths:
--------------
trunk/base/src/port/portindex.tcl
Modified: trunk/base/src/port/portindex.tcl
===================================================================
--- trunk/base/src/port/portindex.tcl 2009-05-08 06:01:54 UTC (rev 50725)
+++ trunk/base/src/port/portindex.tcl 2009-05-08 07:07:00 UTC (rev 50726)
@@ -92,19 +92,21 @@
{^-.+} {
if {$arg == "-a"} { # Turn on archiving
set archive 1
- } elseif {$arg == "-d"} { # Turn on debug output
- set ui_options(ports_debug) yes
- } elseif {$arg == "-o"} { # Set output directory
- incr i
- set outdir [lindex $argv $i]
- } else {
- puts stderr "Unknown option: $arg"
- print_usage
- exit 1
+ } elseif {$arg == "-d"} { # Turn on debug output
+ set ui_options(ports_debug) yes
+ } elseif {$arg == "-o"} { # Set output directory
+ incr i
+ set outdir [lindex $argv $i]
+ } else {
+ puts stderr "Unknown option: $arg"
+ print_usage
+ exit 1
+ }
}
+ default {
+ set directory $arg
+ }
}
- default { set directory $arg }
- }
}
if {$archive == 1 && ![info exists outdir]} {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090508/50833576/attachment.html>
More information about the macports-changes
mailing list