Parent Directory | Revision Log | Revision Graph
Import on branch sme7 of package runit-1.7.2-1.el4.sme.src.rpm
1 | #!/bin/sh |
2 | |
3 | if [ ! -d $1 ]; then |
4 | echo "Usage: svdepcalc /path/to/your/service/directory" |
5 | exit 111 |
6 | fi |
7 | |
8 | cd $1 |
9 | for DIR in *; do rm -rf $DIR/downdeps; done |
10 | for DIR in *; do |
11 | if [ -d $DIR/updeps ]; then |
12 | for DEP in $DIR/updeps/*; do |
13 | mkdir -p $DEP/downdeps |
14 | ln -s `pwd`/$DIR $DEP/downdeps |
15 | done |
16 | fi |
17 | done |
admin@koozali.org | ViewVC Help |
Powered by ViewVC 1.2.1 |