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

Side by Side Diff: chrome/installer/mac/app/copy_to_disk.sh

Issue 2243863003: Added authorized install with a script to do the copy. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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 unified diff | Download patch
OLDNEW
(Empty)
1 #!/bin/bash -p
2
3 # Copyright 2016 The Chromium Authors. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be
Elly Fong-Jones 2016/08/16 14:59:42 This script should set -e and it can probably just
ivanhernandez 2016/08/16 17:18:38 I appended the e flag to -p. Also added comments t
5 # found in the LICENSE file.
6
7 SRC=${1}
8 DEST=${2}
9 FULL_DEST=${3}
10
11 rsync -lrpt "${SRC}" "${DEST}" >& /dev/null
12 chown -Rh root:admin "${FULL_DEST}" >& /dev/null
13 chmod -R a+rX,ug+w,o-w "${FULL_DEST}" >& /dev/null
OLDNEW
« chrome/installer/mac/app/AuthorizedInstall.m ('K') | « chrome/installer/mac/app/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698