summaryrefslogtreecommitdiff
path: root/odk/util
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2013-05-04 14:10:11 +0200
committerDavid Tardon <dtardon@redhat.com>2013-05-04 14:42:41 +0000
commit45b95190860d714f7dba9dcca452931c199581a5 (patch)
treeda560678cc51a7e62aa4fae6b60b9dcfe4e22b96 /odk/util
parentda7e3fca9f9b9529a4fa81204b2b22c862bffbb3 (diff)
$(WORKDIR)/CustomTarget/odk/odkcommon is no more
Change-Id: I49204b3518c47614e591de47a916901861331673 Reviewed-on: https://gerrit.libreoffice.org/3777 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
Diffstat (limited to 'odk/util')
-rw-r--r--odk/util/check.pl13
1 files changed, 6 insertions, 7 deletions
diff --git a/odk/util/check.pl b/odk/util/check.pl
index 542361e44cd0..5a2df1681dc9 100644
--- a/odk/util/check.pl
+++ b/odk/util/check.pl
@@ -23,26 +23,25 @@
$return = 0;
-$PrimaryDir = "$ARGV[0]";
-$SecondaryDir = "$ARGV[1]";
-$OperatingSystem = "$ARGV[2]";
-$ExePrefix = "$ARGV[3]";
+$SdkDir = "$ARGV[0]";
+$OperatingSystem = "$ARGV[1]";
+$ExePrefix = "$ARGV[2]";
sub check_file
{
my ($file) = @_;
- return -e "$PrimaryDir/$file" || -e "$SecondaryDir/$file";
+ return -e "$SdkDir/$file";
}
sub check_dir
{
my ($dir) = @_;
- return -d "$PrimaryDir/$dir" || -d "$SecondaryDir/$dir";
+ return -d "$SdkDir/$dir";
}
print "Check for $OperatingSystem\n";
-if (-d "$PrimaryDir" || -d "$SecondaryDir") {
+if (-d "$SdkDir") {
# check binaries
print "check binaries: ";
if (check_dir("bin")) {