Kaydet (Commit) 4cb5f23b authored tarafından Michael Stahl's avatar Michael Stahl

odk: make error reporting less mysterious

Change-Id: I9e3c58fe65b902bb8b6b30449008bd1d71ed2180
üst 1ef4b31e
...@@ -79,7 +79,8 @@ if (-d "$SdkDir") { ...@@ -79,7 +79,8 @@ if (-d "$SdkDir") {
} }
} }
} else { } else {
$return++; print "\nERROR: \"bin\" is missing\n";
$return++;
} }
print "\n"; print "\n";
...@@ -110,7 +111,8 @@ if (-d "$SdkDir") { ...@@ -110,7 +111,8 @@ if (-d "$SdkDir") {
} }
} }
} else { } else {
$return++; print "\nERROR: \"docs\" is missing\n";
$return++;
} }
print "\n"; print "\n";
...@@ -169,7 +171,8 @@ if (-d "$SdkDir") { ...@@ -169,7 +171,8 @@ if (-d "$SdkDir") {
$return++; $return++;
} }
} else { } else {
$return++; print "\nERROR: \"settings\" is missing\n";
$return++;
} }
print "\n"; print "\n";
...@@ -183,6 +186,7 @@ if (-d "$SdkDir") { ...@@ -183,6 +186,7 @@ if (-d "$SdkDir") {
$return++; $return++;
} }
} else { } else {
print "\nERROR: \"docs/cpp/ref\" is missing\n";
$return++; $return++;
} }
print "\n"; print "\n";
...@@ -214,6 +218,7 @@ if (-d "$SdkDir") { ...@@ -214,6 +218,7 @@ if (-d "$SdkDir") {
} }
} }
} else { } else {
print "\nERROR: \"docs/java/ref\" is missing\n";
$return++; $return++;
} }
print "\n"; print "\n";
...@@ -360,12 +365,14 @@ if (-d "$SdkDir") { ...@@ -360,12 +365,14 @@ if (-d "$SdkDir") {
} }
} }
} else { } else {
$return++; print "\nERROR: \"docs/idl/ref\" is missing\n";
$return++;
} }
print "\n"; print "\n";
} }
} else { } else {
print "\nERROR: \"$SdkDir\" is missing\n";
$return++; $return++;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment