diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-09-05 11:21:42 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-09-05 11:21:42 +0100 |
commit | e48534950a62f569aafd892b2cb810c9a6725e7b (patch) | |
tree | 99c5f057b509c248cc215f4fb4a075489628ed03 /dist.sh | |
parent | 2ad4f0abc90c2017041f4734f31fc3ffe9610188 (diff) | |
download | rspamd-e48534950a62f569aafd892b2cb810c9a6725e7b.tar.gz rspamd-e48534950a62f569aafd892b2cb810c9a6725e7b.zip |
Add 'dist' target.
Diffstat (limited to 'dist.sh')
-rwxr-xr-x | dist.sh | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -5,7 +5,7 @@ if [ $# -ne 1 ] ; then exit 1 fi -FNAME=shift +FNAME=$1 PREFIX=`basename $FNAME | sed -e 's/\.tar.*$//'` OUT="" @@ -21,5 +21,5 @@ for sub in $SUBMODULES ; do (cd $sub && git ls-files | sed -e "s|^|$sub/|" >> $OUT) done -tar -c --no-recursion --transform "s|^|$PREFIX/|" -a -T $OUT -v -f $FNAME +tar -c --exclude='.[^/]*' --exclude='*.xz' --exclude='*.gz' --no-recursion --transform "s|^|$PREFIX/|" -a -T $OUT -v -f $FNAME rm -f $OUT |