source: branches/gsoc09-logging/base/src/dep_map_clean.tcl @ 136621

Last change on this file since 136621 was 53509, checked in by enl@…, 11 years ago

Merge from trunk + little code cleanups

  • Property svn:eol-style set to native
  • Property svn:executable set to *
  • Property svn:keywords set to Id
File size: 519 bytes
Line 
1#!/usr/bin/env tclsh
2# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
3# $Id: dep_map_clean.tcl 53509 2009-07-07 08:20:59Z enl@macports.org $
4
5# Removes any duplicate entries from the MacPorts registry's dependency map.
6# Takes one argument, which should be TCL_PACKAGE_DIR.
7
8source [file join [lindex $argv 0] macports1.0 macports_fastload.tcl]
9package require macports 1.0
10package require registry 1.0
11
12mportinit
13
14registry::open_dep_map
15registry::clean_dep_map
16registry::write_dep_map
17
18exit 0
Note: See TracBrowser for help on using the repository browser.