File: _update.sh

package info (click to toggle)
yada 0.34
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 1,160 kB
  • ctags: 83
  • sloc: perl: 3,554; makefile: 26; sh: 12
file content (20 lines) | stat: -rwxr-xr-x 399 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/sh

# This script updates example files

test -d ~dexter/src || exit 0

for f in \
  ~dexter/src/alioth/cvsdebuild/trunk/debian/*/*/debian/*packages \
  ~dexter/src/alioth/fakechroot/trunk/debian/*packages \
  ~dexter/src/alioth/pear-package/trunk/*/debian/*packages
do
    echo $f
    cat $f > $(basename $(dirname $(dirname $f))).$(basename $f)
done

cvs up

cvs add -ko *.packages

cvs ci