mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-09 14:06:58 +02:00
Fixing yet another path mistake.
BUG=None TEST=None TBR=djmm Merge branch 'master' of ssh://chromiumos-git/crosutils Fixing typo BUG=None TEST=None TBR=djmm Merge branch 'master' of ssh://chromiumos-git/crosutils Fixing command line to work with file acls. Merge branch 'gsd' Merge branch 'master' into gsd Fixing typo in command line. Refactoring gsutil archiving into a function. Adding optional gsd_generate_index step. Adding ACL option to archive_build.sh Review URL: http://codereview.chromium.org/2881005
This commit is contained in:
parent
2303fa1d0f
commit
51a2e575b5
@ -185,8 +185,6 @@ chmod 644 "$ZIPFILE" "${FLAGS_to}/LATEST"
|
||||
chmod 755 "$OUTDIR"
|
||||
|
||||
|
||||
GSD_GENERATE_INDEX="${FLAGS_gsd_gen_index} -a ${FLAGS_acl}"
|
||||
|
||||
function gsutil_archive() {
|
||||
IN_PATH="$1"
|
||||
OUT_PATH="$2"
|
||||
@ -199,7 +197,10 @@ function gsutil_archive() {
|
||||
if [ $FLAGS_gsd_gen_index != "" ]
|
||||
then
|
||||
echo "Updating indexes..."
|
||||
${GSD_GENERATE_INDEX} -p ${FULL_OUT_PATH} ${FLAGS_gsutil_archive}
|
||||
${FLAGS_gsd_gen_index} \
|
||||
--gsutil=${FLAGS_gsutil} \
|
||||
-a ${FLAGS_acl} \
|
||||
-p ${FULL_OUT_PATH} ${FLAGS_gsutil_archive}
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user