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

Annotation of /rpms/runit/sme10/runit.svdepcalc

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


Revision 1.1 - (hide annotations) (download)
Sun Feb 7 21:09:42 2016 UTC (8 years, 8 months ago) by stephdl
Branch: MAIN
CVS Tags: runit-2_1_2-1_el7_sme, HEAD
* 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 RSS 2.0 feed