projects
/
scripts
/
scripts.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
d11c6f2
)
added update_hdwlinux_org.sh script
author
hackbard
<hackbard>
Mon, 14 Mar 2005 19:35:49 +0000
(19:35 +0000)
committer
hackbard
<hackbard>
Mon, 14 Mar 2005 19:35:49 +0000
(19:35 +0000)
update_hdwlinux_org.sh
[new file with mode: 0755]
patch
|
blob
diff --git a/update_hdwlinux_org.sh
b/update_hdwlinux_org.sh
new file mode 100755
(executable)
index 0000000..
f4ca5bb
--- /dev/null
+++ b/
update_hdwlinux_org.sh
@@ -0,0
+1,17
@@
+#!/bin/bash
+
+oldpwd=$PWD
+hdwdir=/var/www/hdwlinux.org/download/hdw-linux/hdw-linux-cvs
+
+echo -en "hdw-linux.cvs update ..." >> /var/log/messages
+
+cd $hdwdir/scripts
+cvs up -d
+cd ..
+rm -f $hdwdir/snapshot/hdw-linux-cvs.tar*
+tar cf $hdwdir/snapshot/hdw-linux-cvs.tar hdw-linux-cvs
+bzip2 $hdwdir/snapshot/hdw-linux-cvs.tar
+cd $oldpwd
+
+echo -en "done\n" >> /var/log/messages
+