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

Unified Diff: bin/cros_update_image.sh

Issue 6240018: This starts to fix the scripts so that they load from /usr/lib/crosutils (Closed) Base URL: http://git.chromium.org/git/crosutils.git@master
Patch Set: fixing bad merge Created 9 years, 11 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 | « bin/cros_stop_vm ('k') | bin/cros_workon_make » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: bin/cros_update_image.sh
diff --git a/bin/cros_update_image.sh b/bin/cros_update_image.sh
index cf5f2e1570e137d6fbbbc21a7c2cc57815101ed2..8dc7c809046527cefed9ba98e6e8a63665e5aa60 100755
--- a/bin/cros_update_image.sh
+++ b/bin/cros_update_image.sh
@@ -1,4 +1,7 @@
#!/bin/bash
+# Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
# Usage:
# update_image.sh [image_to_update] [packages...]
@@ -24,7 +27,7 @@ else
fi
IMAGE=$( readlink -f ${1} )
-IMAGE_DIR=$( dirname ${IMAGE} )
+IMAGE_DIR=$( dirname "${IMAGE}" )
shift
PKGS=$@
« no previous file with comments | « bin/cros_stop_vm ('k') | bin/cros_workon_make » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698