diff --git a/checkin_notes b/checkin_notes
index 91e56f7117..b5655f86ca 100644
--- a/checkin_notes
+++ b/checkin_notes
@@ -3123,3 +3123,10 @@ Charlie 22 May 2011
clientscr/
mac_saver_module.cpp
+
+David 24 May 2011
+ - update_versions: flag main program as executable,
+ otherwise client will reject it
+
+ tools/
+ update_versions
diff --git a/tools/update_versions b/tools/update_versions
index 94819ee438..449a16844e 100755
--- a/tools/update_versions
+++ b/tools/update_versions
@@ -64,7 +64,7 @@ function file_info_xml($fd) {
} else {
$xml .= " $fd->url\n";
}
- if ($fd->executable) {
+ if ($fd->executable || $fd->main_program) {
$xml .= " \n";
}
$xml .= " \n";