diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2009-05-14 04:35:10 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2009-05-14 04:35:10 +0000 |
commit | 9c76ffcc04b5590f456a811bde2370c9bd82dc60 (patch) | |
tree | dd21f9868f447cf79beae575a3c772c61bdbebcc /scripts/auto-build | |
parent | ae1fdd0a5e2ae29a753cfdfc0f3fe26977afc2c8 (diff) |
more fun with fighting against windows permission madness
svn path=/trunk/; revision=11354
Diffstat (limited to 'scripts/auto-build')
-rw-r--r-- | scripts/auto-build/extra-rsync.bat | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/scripts/auto-build/extra-rsync.bat b/scripts/auto-build/extra-rsync.bat index 966df963..334bcceb 100644 --- a/scripts/auto-build/extra-rsync.bat +++ b/scripts/auto-build/extra-rsync.bat @@ -1,7 +1,10 @@ +REM uses http://setacl.sourceforge.net/ + cd \msys\1.0\home\pd\ -REM reset perms -echo y|cacls c:\msys\1.0\home\pd\auto-build /C /T /G pd:F everyone:R +REM echo y|cacls c:\msys\1.0\home\pd\auto-build /C /T /G pd:F everyone:R + +setacl -on c:\msys\1.0\home\pd\auto-build\pd-extended -ot file -actn ace -ace "n:pd;p:full,write_owner;i:so,sc;m:set" -ace "n:everyone;p:read;i:so,sc;m:set" REM Cygwin rsync seems to be unhappy with SVN's .svn file permissions, so REM ignore SVN files first to get all the 'meat' @@ -11,7 +14,3 @@ sleep 60 REM now get the SVN changes, this might fail a lot, especially on '.svn/entries' rsync -av --progress --whole-file --exclude='*inv\**' --timeout=60 rsync://128.238.56.50/distros/pd-extended/ /home/pd/auto-build/pd-extended/ - -REM reset perms -echo y|cacls c:\msys\1.0\home\pd\auto-build /C /T /G pd:F everyone:R - |