You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by di...@apache.org on 2003/01/06 18:09:16 UTC

cvs commit: jakarta-turbine-maven/src/admin deploy-jar.bat

dion        2003/01/06 09:09:16

  Modified:    src/admin deploy-jar.bat
  Log:
  Fix permissions
  
  Revision  Changes    Path
  1.5       +4 -4      jakarta-turbine-maven/src/admin/deploy-jar.bat
  
  Index: deploy-jar.bat
  ===================================================================
  RCS file: /home/cvs/jakarta-turbine-maven/src/admin/deploy-jar.bat,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- deploy-jar.bat	6 Jan 2003 15:31:20 -0000	1.4
  +++ deploy-jar.bat	6 Jan 2003 17:09:16 -0000	1.5
  @@ -17,14 +17,14 @@
   Echo Making sure the target directory is present.
   ssh %USER%@%REPO% "mkdir -p %DIR%"
   Echo Ensuring directory permissions are ok.
  -ssh %USER%@%REPO% "chmod 664 %DIR%;chgrp maven %DIR%"
  +ssh %USER%@%REPO% "chmod 775 %DIR%;chgrp maven %DIR%"
   Echo Ensuring parent directory permissions are ok.
  -ssh %USER%@%REPO% "chmod 664 %DIR%/..; chgrp maven %DIR%/.."
  +ssh %USER%@%REPO% "chmod 775 %DIR%/..; chgrp maven %DIR%/.."
   
   Echo Copying the artifact to the repository.
  -scp %ARTIFACT% %USER%@%REPO%:%DIR%/
  +scp %ARTIFACT% %USER%@%REPO%:%DIR%
   
   Echo Making sure the perms are correct, and creating the .md5
   ssh %USER%@%REPO% "chmod 664 %DIR%/%ARTIFACT%; chgrp maven %DIR%/%ARTIFACT%; cd %DIR%; md5sum %ARTIFACT% | sed 's/ .*$//' > %ARTIFACT%.md5"
   Echo Making sure the perms are correct on the md5
  -ssh %USER%@%REPO% "chmod 664 %REMOTEFILE%.md5; chgrp maven %REMOTEFILE%.md5"
  +ssh %USER%@%REPO% "chmod 664 %DIR%/%ARTIFACT%.md5; chgrp maven %DIR%/%ARTIFACT%.md5"