repo.or.cz
/
rofl0r-ixchat.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
fix configure check for SSL_CTX_get_ssl_method
[rofl0r-ixchat.git]
/
create-dist.sh
blob
d7fc09f3a762bff33ecd615b49d204e5ae08f52d
1
#!/bin/sh
2
if
[[
-z
"
$VER
"
]] ;
then
3
echo set
VER
!
4
exit
5
fi
6
me
=
`pwd`
7
8
proj
=
ixchat
9
projver
=
${proj}
-
${VER}
10
repo
=
http
://
github.com
/
rofl0r
/
$proj
11
repo
=
$PWD
12
13
tempdir
=/
tmp
/
${proj}
-0000
14
rm
-rf
$tempdir
15
mkdir
-p
$tempdir
16
17
cd
$tempdir
18
git clone
$repo $projver
19
rm
-rf
$projver
/
.git
20
rm
-rf
$projver
/
docs
21
22
tar
cJf
$proj
.
tar
.xz
$projver
/
23
mv
$proj
.
tar
.xz
$me
/
$projver
.
tar
.xz