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=$@ |