"up-to-date" should only use hyphens when used as compound modifier of a noun
See bug, apparently it's "an up-to-date thing" but "thing is up to date".
The bug is only about grd files, but I went through `git grep -l up-to-date`
while I was at it.
BUG=344535
TBR=IPC owner
CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:closure_compilation;tryserver.blink:linux_blink_rel
Review-Url: https://codereview.chromium.org/2059143002
Cr-Commit-Position: refs/heads/master@{#399698}
diff --git a/build/install-build-deps.sh b/build/install-build-deps.sh
index 3dd36d0..f0ae0b14 100755
--- a/build/install-build-deps.sh
+++ b/build/install-build-deps.sh
@@ -424,7 +424,7 @@
new_list_cmd="sudo apt-get install --reinstall $(echo $packages)"
if new_list="$(yes n | LANGUAGE=en LANG=C $new_list_cmd)"; then
# We probably never hit this following line.
- echo "No missing packages, and the packages are up-to-date."
+ echo "No missing packages, and the packages are up to date."
elif [ $? -eq 1 ]; then
# We expect apt-get to have exit status of 1.
# This indicates that we cancelled the install with "yes n|".
@@ -432,7 +432,7 @@
sed -e '1,/The following NEW packages will be installed:/d;s/^ //;t;d')
new_list=$(echo "$new_list" | sed 's/ *$//')
if [ -z "$new_list" ] ; then
- echo "No missing packages, and the packages are up-to-date."
+ echo "No missing packages, and the packages are up to date."
else
echo "Installing missing packages: $new_list."
sudo apt-get install ${do_quietly-} ${new_list}