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

Side by Side Diff: src/platform/memento_softwareupdate/memento_updater_logging.sh

Issue 1556022: Factory Installer. (Closed)
Patch Set: fixes for review Created 10 years, 8 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
1 #!/bin/bash 1 #!/bin/sh
2 2
3 # Copyright (c) 2009 The Chromium OS Authors. All rights reserved. 3 # Copyright (c) 2009 The Chromium OS Authors. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be 4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file. 5 # found in the LICENSE file.
6 6
7 # common logging function for all memento updater scripts 7 # common logging function for all memento updater scripts
8 8
9 export MEMENTO_AU_LOG=/var/log/softwareupdate.log 9 export MEMENTO_AU_LOG=/var/log/softwareupdate.log
10 10
11 function log { 11 log() {
12 echo $(/bin/date) "$*" >> "$MEMENTO_AU_LOG" 12 echo $(/bin/date) "$*" >> "$MEMENTO_AU_LOG"
13 } 13 }
14 export log 14 export log
OLDNEW
« no previous file with comments | « src/platform/memento_softwareupdate/memento_updater.sh ('k') | src/platform/memento_softwareupdate/ping_omaha.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698