diff options
author | Michael Stahl <mstahl@redhat.com> | 2013-09-06 21:00:56 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2013-09-09 22:08:58 +0200 |
commit | 4cb5f23b232ac22369d700f8bfae713e6893449c (patch) | |
tree | fee5b37d15a09078b5c4bdc6488d9da6d5b1015a | |
parent | 1ef4b31e33d47a15ad643156ac9151961b71b712 (diff) |
odk: make error reporting less mysterious
Change-Id: I9e3c58fe65b902bb8b6b30449008bd1d71ed2180
-rw-r--r-- | odk/util/check.pl | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/odk/util/check.pl b/odk/util/check.pl index 31c857a66f6b..db0286bb5724 100644 --- a/odk/util/check.pl +++ b/odk/util/check.pl @@ -79,7 +79,8 @@ if (-d "$SdkDir") { } } } else { - $return++; + print "\nERROR: \"bin\" is missing\n"; + $return++; } print "\n"; @@ -110,7 +111,8 @@ if (-d "$SdkDir") { } } } else { - $return++; + print "\nERROR: \"docs\" is missing\n"; + $return++; } print "\n"; @@ -169,7 +171,8 @@ if (-d "$SdkDir") { $return++; } } else { - $return++; + print "\nERROR: \"settings\" is missing\n"; + $return++; } print "\n"; @@ -183,6 +186,7 @@ if (-d "$SdkDir") { $return++; } } else { + print "\nERROR: \"docs/cpp/ref\" is missing\n"; $return++; } print "\n"; @@ -214,6 +218,7 @@ if (-d "$SdkDir") { } } } else { + print "\nERROR: \"docs/java/ref\" is missing\n"; $return++; } print "\n"; @@ -360,12 +365,14 @@ if (-d "$SdkDir") { } } } else { - $return++; + print "\nERROR: \"docs/idl/ref\" is missing\n"; + $return++; } print "\n"; } } else { + print "\nERROR: \"$SdkDir\" is missing\n"; $return++; } |