[Swift-commit] r5361 - wwwdev

davidk at ci.uchicago.edu davidk at ci.uchicago.edu
Wed Dec 7 13:54:12 CST 2011


Author: davidk
Date: 2011-12-07 13:54:12 -0600 (Wed, 07 Dec 2011)
New Revision: 5361

Modified:
   wwwdev/push_to.sh
Log:
Permissions fix


Modified: wwwdev/push_to.sh
===================================================================
--- wwwdev/push_to.sh	2011-12-07 19:32:46 UTC (rev 5360)
+++ wwwdev/push_to.sh	2011-12-07 19:54:12 UTC (rev 5361)
@@ -214,7 +214,6 @@
 inc/side_content.php
 inc/header.php
 docs/tracking_policy.php
-docs/index copy.php
 docs/license.php
 docs/usage_data.php
 docs/index.php
@@ -233,11 +232,11 @@
 do
    destination_dir=`dirname $FILE`
    mkdir -p $DESTINATION/$destination_dir
-   chgrp $GROUP $DESTIONATION/$destination_dir > /dev/null 2>&1
-   chmod $CHMOD_DIRECTORY_MODE $DESTINATION > /dev/null 2>&1
-   cp $FILE $DESTINATION/$destination_dir/ > /dev/null 2>&1
-   chgrp $GROUP $FILE > /dev/null 2>&1
-   chmod $CHMOD_FILE_MODE $FILE > /dev/null 2>&1
+   chgrp $GROUP $DESTINATION/$destination_dir > /dev/null 2>&1
+   chmod $CHMOD_DIRECTORY_MODE $DESTINATION/$destination_dir > /dev/null 2>&1
+   cp -v $FILE $DESTINATION/$destination_dir
+   chgrp $GROUP $DESTINATION/$FILE > /dev/null 2>&1
+   chmod $CHMOD_FILE_MODE $DESTINATION/$FILE > /dev/null 2>&1
 done
 
 popd > /dev/null 2>&1




More information about the Swift-commit mailing list