Ticket #8763: portdepclean.tcl
File portdepclean.tcl, 492 bytes (added by jmroot (Joshua Root), 16 years ago) |
---|
Line | |
---|---|
1 | #!/bin/sh |
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 | # Run the Tcl interpreter \ |
4 | exec @TCLSH@ "$0" "$@" |
5 | # portdepclean.tcl |
6 | |
7 | # Removes any duplicate entries from the MacPorts registry's dependency map. |
8 | |
9 | catch {source \ |
10 | [file join "@TCL_PACKAGE_DIR@" macports1.0 macports_fastload.tcl]} |
11 | package require macports |
12 | |
13 | registry::open_dep_map |
14 | registry::clean_dep_map |
15 | registry::write_dep_map |
16 | |
17 | exit 0 |