projects
/
hdw-linux
/
hdw-linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
6590bcd
)
adapted make_tar script
author
hackbard
<hackbard>
Wed, 21 Jul 2004 15:03:52 +0000
(15:03 +0000)
committer
hackbard
<hackbard>
Wed, 21 Jul 2004 15:03:52 +0000
(15:03 +0000)
doc/CHANGELOG
patch
|
blob
|
history
misc/internal/make_tar.sh
patch
|
blob
|
history
diff --git
a/doc/CHANGELOG
b/doc/CHANGELOG
index
0cbe1b2
..
efa6f9c
100644
(file)
--- a/
doc/CHANGELOG
+++ b/
doc/CHANGELOG
@@
-1,5
+1,6
@@
*) 2004-07-21
*) 2004-07-21
+- adapted make_tar.sh script
- fixed firefox and mozilla config typo
############################################################################
- fixed firefox and mozilla config typo
############################################################################
diff --git
a/misc/internal/make_tar.sh
b/misc/internal/make_tar.sh
index
65f2672
..
e6dfdfc
100755
(executable)
--- a/
misc/internal/make_tar.sh
+++ b/
misc/internal/make_tar.sh
@@
-1,4
+1,4
@@
-#!/bin/sh
+#!/bin/
ba
sh
#
# author: hackbard@hackdaworld.dyndns.org
#
#
# author: hackbard@hackdaworld.dyndns.org
#
@@
-8,41
+8,30
@@
# make a tarball from the hdw sources
if [ -z "$1" ] ; then
# make a tarball from the hdw sources
if [ -z "$1" ] ; then
- version="
0.3-dev
"
+ version="
cvs
"
else
else
- version="$
2
"
+ version="$
1
"
fi
fi
-d_tag=`date | awk '{ print $6 "-" $2 "-" $3 }'`
-c_tag=`date | awk '{ print $4 }' | sed 's/:/-/g'`
-tag="-${d_tag}-${c_tag}"
-[ -z "`echo $version | grep 'dev'`" ] && tag=""
+rm -f hdw-linux-${version}.tar.bz2
+rm -rf hdw-linux
-if [ -f hdw-linux-${version}${tag}* ] ; then
- echo "delete old tarball pls!"
- exit 1
-fi
-
-rm -rf hdw-linux-${version}
-cvs -d:pserver:anonymous@right-hand:/hdw-linux co hdw-linux-${version}
-cd hdw-linux-${version}
-rm -r CVS
-rm -r */CVS
-rm -r */*/CVS
-rm -r */*/*/CVS
-rm -r */*/*/*/CVS
-rm -r */*/*/*/*/CVS
+cvs -d:pserver:anonymous@right-hand:/hdw-linux co hdw-linux
+mv hdw-linux hdw-linux-${version} ; cd hdw-linux-${version}
+rm -rf CVS
+rm -rf */CVS
+rm -rf */*/CVS
+rm -rf */*/*/CVS
+rm -rf */*/*/*/CVS
+rm -rf */*/*/*/*/CVS
cd ..
cd ..
-tar cvf hdw-linux-${version}
${tag}
.tar hdw-linux-${version}
-bzip2 hdw-linux-${version}
${tag}
.tar
-scp hdw-linux-${version}
${tag}
.tar.bz2 \
-
right-hand:/chroot/www/htdocs/download/hdw-linux/hdw-linux-$version/snapshots
/
-scp hdw-linux-${version}
${tag}
.tar.bz2 \
+tar cvf hdw-linux-${version}.tar hdw-linux-${version}
+bzip2 hdw-linux-${version}.tar
+scp hdw-linux-${version}.tar.bz2 \
+
www.hackdaworld.dyndns.org:/chroot/www/htdocs/download/hdw-linux/hdw-linux-$version/snapshot
/
+scp hdw-linux-${version}.tar.bz2 \
zirkelfr@everest.physik.uni-augsburg.de:~/public_html/download/hdw-linux/hdw-linux-${version}.tar.bz2
zirkelfr@everest.physik.uni-augsburg.de:~/public_html/download/hdw-linux/hdw-linux-${version}.tar.bz2
-#rm hdw-linux-${version}${tag}.tar.bz2
-rm -r hdw-linux-${version}
+rm -rf hdw-linux-${version}
echo "done"
echo "done"
-
-