/[smeserver]/rpms/runit/sme7/runit.svdepcalc
ViewVC logotype

Annotation of /rpms/runit/sme7/runit.svdepcalc

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Tue Jun 12 17:21:02 2007 UTC (17 years, 5 months ago) by slords
Branch: MAIN
CVS Tags: runit-1_7_2-1_el4_sme, runit-2_0_0-1_el4_sme, HEAD
Import on branch sme7 of package runit-1.7.2-1.el4.sme.src.rpm

1 slords 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 RSS 2.0 feed