repo.or.cz
/
barry.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
tzwrapper.cc: fixed use of iterator after erase
[barry.git]
/
maintainer
/
make-slimdist.sh
blob
6b58196ec96b5ac793db78e9a311fbd4ddcf82c9
1
#!/bin/bash
2
3
set -e
4
5
if
[
-z
"
$1
"
] ;
then
6
echo
"Usage: make-slimdist.sh builddir"
7
exit
1
8
fi
9
10
BUILDDIR
=
"
$1
"
11
12
#
13
# Creates a tarball of just the repository metadata, not the binary
14
# packages themselves.
15
#
16
17
tar
--exclude
=*
.deb
--exclude
=*
.rpm
-cvz -C
"
$BUILDDIR
"
-f
metadata.
tar
.gz .
18