Parent Directory | Revision Log | Revision Graph
* Sun Feb 7 2016 stephane de labrusse <stephdl@de-labrusse.fr> 2.1.2-1 - Build new rpm for sme10
1 | stephdl | 1.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 |