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

Unified Diff: make_factory_package.sh

Issue 6244003: crosutils/make_factory_package.sh: Support relative path (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/crosutils.git@master
Patch Set: 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: make_factory_package.sh
diff --git a/make_factory_package.sh b/make_factory_package.sh
index 71233fb09c4172007921878d4bde7ff9a7a76f25..d89589f8a729a4a5aa35ff766989c24379dd7390 100755
--- a/make_factory_package.sh
+++ b/make_factory_package.sh
@@ -86,7 +86,7 @@ RELEASE_IMAGE="$(basename "${FLAGS_release}")"
FACTORY_IMAGE="$(basename "${FLAGS_factory}")"
prepare_img() {
- local outdev="$FLAGS_diskimg"
+ local outdev="$(readlink -f "$FLAGS_diskimg")"
Nick Sanders 2011/01/13 06:54:08 I don't think this will work. The issue is not sym
Hung-Te 2011/01/13 07:05:51 Right, but readlink -f reports full path.
local sectors="$FLAGS_sectors"
local force_full="true"
@@ -191,7 +191,7 @@ else
fi
generate_img() {
- local outdev="$FLAGS_diskimg"
+ local outdev="$(readlink -f "$FLAGS_diskimg")"
local sectors="$FLAGS_sectors"
prepare_img
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698