lo-pack-sources: correct check for valid libreoffice/core dir

Change-Id: I8dbe60b85d0a330e3b2b5f54984b561fe9be05be
This commit is contained in:
Petr Mladek 2012-06-12 19:42:13 +02:00
parent b3d8fd8a41
commit b74119aed7

View file

@ -399,7 +399,7 @@ unless ( -d "$source_dir" ) {
}
# check if it is a valid libreoffice-core directory
$is_lo_core_dir=1 if (-f "$source_dir/autogen.sh" && -f "$source_dir/set_soenv.in");
$is_lo_core_dir=1 if (-f "$source_dir/autogen.sh" && -f "$source_dir/config_host.mk.in");
# all tarballs are generated from the libreoffice-core directory
if (@pieces > 1 && $is_lo_core_dir == 0 ) {