Chromium Code Reviews| 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 |