Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1211)

Unified Diff: archive_build.sh

Issue 2847036: Fixing command line to work with file acls. (Closed) Base URL: ssh://git@chromiumos-git/crosutils.git
Patch Set: Created 10 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: archive_build.sh
diff --git a/archive_build.sh b/archive_build.sh
index c282b8169be3d68ddb7be19ab69e289b873d4df2..4acf138eb5b4a548e005413c8e684a07b48c6213 100755
--- a/archive_build.sh
+++ b/archive_build.sh
@@ -185,7 +185,6 @@ chmod 644 "$ZIPFILE" "${FLAGS_to}/LATEST"
chmod 755 "$OUTDIR"
-GSUTIL_CP="${FLAGS_gsutil} cp -a ${FLAGS_acl}"
GSUTIL_GENERATE_INDEX="${FLAGS_gsd_gen_index} -a ${FLAGS_acl}"
function gsutil_archive() {
@@ -195,7 +194,8 @@ function gsutil_archive() {
then
FULL_OUT_PATH="${FLAGS_gsutil_archive}/${OUT_PATH}"
echo "Using gsutil to archive to ${OUT_PATH}..."
- ${GSUTIL_CP} ${IN_PATH} ${FULL_OUT_PATH}
+ ${FLAGS_gsutil} cp ${IN_PATH} ${FULL_OUT_PATH}
+ ${FLAGS_gsutil} setacl ${FLAGS_acl} ${FULL_OUT_PATH}
if [ $FLAGS_gsd_gen_index != "" ]
then
echo "Updating indexes..."
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698