aboutsummaryrefslogtreecommitdiffstats
path: root/make/scripts/rsync2here.sh
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2010-04-29 17:42:21 +0200
committerSven Gothel <[email protected]>2010-04-29 17:42:21 +0200
commit9bdcb54bc88788c1c3bea1bb76955f81ed3db3f7 (patch)
tree70938e455264ae212fc461345f7da83e7b5e75db /make/scripts/rsync2here.sh
parent14256647c8954bb8d6d2afa88927e75783bc912b (diff)
cleanup scripts ; updated win32 and win64 scripts with my environment
Diffstat (limited to 'make/scripts/rsync2here.sh')
-rwxr-xr-xmake/scripts/rsync2here.sh28
1 files changed, 28 insertions, 0 deletions
diff --git a/make/scripts/rsync2here.sh b/make/scripts/rsync2here.sh
new file mode 100755
index 000000000..958fccf7f
--- /dev/null
+++ b/make/scripts/rsync2here.sh
@@ -0,0 +1,28 @@
+#! /bin/sh
+
+# USESSH="-e ssh"
+
+#DEST=/usr/local/projects/JOGL
+DEST=/cygdrive/c/JOGL
+
+function my_rsync()
+{
+ # rsync $USESSH -av --perms --delete-after --exclude 'build*/' $SOURCE/JOGL/$1 $2
+ rsync $USESSH -av --perms --delete-after --exclude 'build*/' $SOURCE/JOGL/$1 $2
+}
+
+function do_rsync()
+{
+ my_rsync gluegen $DEST/
+ my_rsync jogl $DEST/
+ my_rsync jogl-demos $DEST/
+ my_rsync lib $DEST/
+ my_rsync lib-windows-x86 $DEST/
+ my_rsync lib-linux-x86 $DEST/
+ my_rsync lib-linux-x86_64 $DEST/
+ my_rsync setenv* $DEST/
+}
+
+do_rsync 2>&1 | tee -a rsync.log
+