Kaydet (Commit) 45b95190 authored tarafından David Tardon's avatar David Tardon

$(WORKDIR)/CustomTarget/odk/odkcommon is no more

Change-Id: I49204b3518c47614e591de47a916901861331673
Reviewed-on: https://gerrit.libreoffice.org/3777Reviewed-by: 's avatarDavid Tardon <dtardon@redhat.com>
Tested-by: 's avatarDavid Tardon <dtardon@redhat.com>
üst da7e3fca
...@@ -50,7 +50,6 @@ $(call gb_CustomTarget_get_workdir,odk/check)/checkbin : \ ...@@ -50,7 +50,6 @@ $(call gb_CustomTarget_get_workdir,odk/check)/checkbin : \
$(call gb_Helper_print_on_error,\ $(call gb_Helper_print_on_error,\
$(PERL) $< \ $(PERL) $< \
$(INSTDIR)/$(gb_Package_SDKDIRNAME) \ $(INSTDIR)/$(gb_Package_SDKDIRNAME) \
$(call gb_CustomTarget_get_workdir,odk/odkcommon) \
$(odk_PLATFORM) "$(gb_Executable_EXT)" \ $(odk_PLATFORM) "$(gb_Executable_EXT)" \
,$@.log \ ,$@.log \
) )
......
...@@ -23,26 +23,25 @@ ...@@ -23,26 +23,25 @@
$return = 0; $return = 0;
$PrimaryDir = "$ARGV[0]"; $SdkDir = "$ARGV[0]";
$SecondaryDir = "$ARGV[1]"; $OperatingSystem = "$ARGV[1]";
$OperatingSystem = "$ARGV[2]"; $ExePrefix = "$ARGV[2]";
$ExePrefix = "$ARGV[3]";
sub check_file sub check_file
{ {
my ($file) = @_; my ($file) = @_;
return -e "$PrimaryDir/$file" || -e "$SecondaryDir/$file"; return -e "$SdkDir/$file";
} }
sub check_dir sub check_dir
{ {
my ($dir) = @_; my ($dir) = @_;
return -d "$PrimaryDir/$dir" || -d "$SecondaryDir/$dir"; return -d "$SdkDir/$dir";
} }
print "Check for $OperatingSystem\n"; print "Check for $OperatingSystem\n";
if (-d "$PrimaryDir" || -d "$SecondaryDir") { if (-d "$SdkDir") {
# check binaries # check binaries
print "check binaries: "; print "check binaries: ";
if (check_dir("bin")) { if (check_dir("bin")) {
......
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