Index: image_to_live.sh |
diff --git a/image_to_live.sh b/image_to_live.sh |
index 96cb5c60d29a9ad247c57a6f75382952be9096e3..f2b0c0556b62cd16df90c259dde8bc6f016fb1bd 100755 |
--- a/image_to_live.sh |
+++ b/image_to_live.sh |
@@ -131,7 +131,7 @@ function run_stateful_update { |
info "Starting stateful update using URL ${stateful_url}" |
# Copy over update script and run update. |
- local dev_dir="$(dirname $0)/../platform/dev" |
+ local dev_dir="${SCRIPTS_DIR}/../platform/dev" |
remote_cp_to "${dev_dir}/stateful_update" "/tmp" |
remote_sh "/tmp/stateful_update ${stateful_update_args} ${stateful_url}" |
} |