mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-24 07:01:13 +02:00
When you pass '--foo="bar baz"' to a script, the argument is literally passed as "bar baz", with the quotes. So we need to not add unnecessary quotes in there. When enter_chroot.sh parses arguments, it actually removes the quotes for you, and splits up arguments. As a result, it may actually be necessary to (1) use the above broken syntax when you call scripts using enter_chroot.sh; but (2) don't use that syntax when calling scripts without enter_chroot.sh. That's a broken situation, so I've added a TODO for that. I've also added more warnings to cros_mark_as_stable.py so that it's easier to debug when it doesn't work. BUG=chromium-os:8633 TEST=Ran unit tests. Planning to watch TOT buildbot post-commit to make sure behavior is right. Change-Id: Ia1a0e60153fec60cb7ed4db2da128ffd9ae81e23 Review URL: http://codereview.chromium.org/4385002
Description
Languages
Shell
93.1%
Python
6.9%