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

Unified Diff: cros_generate_update_payload

Issue 4170003: Use delta_generator from chroot instead of from update_engine directory. (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/crosutils.git
Patch Set: Created 10 years, 2 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: cros_generate_update_payload
diff --git a/cros_generate_update_payload b/cros_generate_update_payload
index 8203d84fd777b8594c08790713b66323232cd097..829f7a3a45d2a8e438877a66e08c7bd5a4132c72 100755
--- a/cros_generate_update_payload
+++ b/cros_generate_update_payload
@@ -168,8 +168,8 @@ if [ "$DELTA" -eq "$FLAGS_TRUE" -o "$FLAGS_old_style" -eq "$FLAGS_FALSE" ]; then
echo "Generating a delta update"
# Sanity check that the real generator exists:
- GENERATOR="$(dirname "$0")/../platform/update_engine/delta_generator"
- [ -x "$GENERATOR" ] || die "$GENERATOR doesn't exist, or isn't executable"
+ GENERATOR="$(which delta_generator)"
+ [ -x "$GENERATOR" ] || die "can't find delta_generator"
trap cleanup INT TERM EXIT
if [ "$DELTA" -eq "$FLAGS_TRUE" ]; then
« 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