diff options
Diffstat (limited to '')
-rwxr-xr-x | mksvnpkg.sh | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/mksvnpkg.sh b/mksvnpkg.sh deleted file mode 100755 index cf14d2f..0000000 --- a/mksvnpkg.sh +++ /dev/null | |||
@@ -1,24 +0,0 @@ | |||
1 | #!/bin/bash | ||
2 | |||
3 | TEMP=$(mktemp) | ||
4 | expand() | ||
5 | { | ||
6 | local DIR="$1" | ||
7 | for fl in $(svn ls "$DIR"); do | ||
8 | if [ ${fl:(-1)} == "/" ]; then | ||
9 | expand "${DIR}${fl}" | ||
10 | else | ||
11 | echo "${DIR}${fl}" >> $TEMP | ||
12 | fi | ||
13 | done | ||
14 | } | ||
15 | |||
16 | echo Building file lists from SVN... | ||
17 | expand ./ | ||
18 | |||
19 | OUTNAME="libbu++-r$(svnversion).tar.bz2" | ||
20 | tar -vcT "${TEMP}" | bzip2 -9 > "$OUTNAME" | ||
21 | |||
22 | rm $TEMP | ||
23 | |||
24 | echo Produced "$OUTNAME" | ||