7 outfile
=rockbox-
$version.7z
9 # remove previous leftovers
14 # create the dir name based on revision number
15 rbdir
=$tempdir/rockbox-
$version
20 # copy everything to the temp dir
21 svn
ls -R |
xargs -Imoo cp --parents moo
$rbdir 2>/dev
/null
27 # 7zip the entire directory
28 7zr a
$outfile rockbox
*
30 # world readable please
33 # remove temporary files