~launchpad-pqm/launchpad/devel

2390 by Canonical.com Patch Queue Manager
[trivial] adding a script that allows you to link your sourcecode and lib to directories hanging off another tree
1
#!/bin/sh
2
#
3
# Links sourcecode and library from those present in a main tree into
4
# this tree.
5
#
6
7
if [ "x$1" == "x" ]; then 
8
    echo "Usage: $0 <directory with main tree>"
9
    echo "Example: '$0 ~/devel/launchpad-main/'"
10
    exit 2
11
fi
12
13
LAUNCHPAD_BASE=$1
14
15
for dir in sourcecode lib; do
2415 by Canonical.com Patch Queue Manager
[trivial] Fix missing pagetitles, improve our basic test coverage for those pages, and add utilities/check-templates.sh which verifies if all templates are registered and properly pagetitled. Only one page title missing, but that's Salgado's fault
16
    for f in $LAUNCHPAD_BASE/$dir/*; do
2390 by Canonical.com Patch Queue Manager
[trivial] adding a script that allows you to link your sourcecode and lib to directories hanging off another tree
17
        target=$dir/`basename $f`
2415 by Canonical.com Patch Queue Manager
[trivial] Fix missing pagetitles, improve our basic test coverage for those pages, and add utilities/check-templates.sh which verifies if all templates are registered and properly pagetitled. Only one page title missing, but that's Salgado's fault
18
        test ! -e $target && ln -sv $f $target;
2390 by Canonical.com Patch Queue Manager
[trivial] adding a script that allows you to link your sourcecode and lib to directories hanging off another tree
19
    done
20
done
2425 by Canonical.com Patch Queue Manager
[trivial] Fix for bug 1986: No way to get back to the list of Foo bugs from the task page; also adds a few traversal tests and other minor fixups
21