summaryrefslogtreecommitdiff
path: root/tools/release/tarball.sh
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2008-10-14 20:44:49 +0000
committerDaniel Stenberg <daniel@haxx.se>2008-10-14 20:44:49 +0000
commit7728c9447010e74709ef9f3cb6ddeaa731cc0465 (patch)
tree493b442e72f6d07174993bf285505f03c2d20601 /tools/release/tarball.sh
parentd2dd34ba29d2d3f392c9d8f6052e9127556f8d83 (diff)
downloadrockbox-7728c9447010e74709ef9f3cb6ddeaa731cc0465.tar.gz
rockbox-7728c9447010e74709ef9f3cb6ddeaa731cc0465.zip
This is my initial commit of the scripts I used to make the 3.0 release
files. The README contains some initial docs, plans and current status. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18812 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools/release/tarball.sh')
-rwxr-xr-xtools/release/tarball.sh34
1 files changed, 34 insertions, 0 deletions
diff --git a/tools/release/tarball.sh b/tools/release/tarball.sh
new file mode 100755
index 0000000000..21335dd954
--- /dev/null
+++ b/tools/release/tarball.sh
@@ -0,0 +1,34 @@
1#!/bin/sh
2
3version="3.0"
4
5srcdir=.
6tempdir=rockbox-temp
7outfile=rockbox-$version.7z
8
9# remove previous leftovers
10rm -rf $tempdir
11
12cd $srcdir
13
14# create the dir name based on revision number
15rbdir=$tempdir/rockbox-$version
16
17# create new temp dir
18mkdir -p $rbdir
19
20# copy everything to the temp dir
21svn ls -R | xargs -Imoo cp --parents moo $rbdir 2>/dev/null
22
23cd $tempdir
24
25rm -f $outfile
26
27# 7zip the entire directory
287zr a $outfile rockbox*
29
30# world readable please
31chmod a+r $outfile
32
33# remove temporary files
34rm -rf $tempdir