Add protection to avoid packaging external tested modules

This commit is contained in:
Laurent Destailleur 2016-01-07 18:13:15 +01:00
parent befe58ab98
commit 0eae624a60
2 changed files with 5 additions and 1 deletions

View File

@ -507,6 +507,8 @@ if ($nboftargetok) {
$ret=`rm -fr $BUILDROOT/$PROJECT/htdocs/pos*`;
$ret=`rm -fr $BUILDROOT/$PROJECT/htdocs/teclib*`;
$ret=`rm -fr $BUILDROOT/$PROJECT/htdocs/timesheet*`;
$ret=`rm -fr $BUILDROOT/$PROJECT/htdocs/webmail*`;
$ret=`rm -fr $BUILDROOT/$PROJECT/htdocs/accountingexport*`;
$ret=`rm -fr $BUILDROOT/$PROJECT/htdocs/themes/oblyon*`;
$ret=`rm -fr $BUILDROOT/$PROJECT/htdocs/themes/allscreen*`;
# Removed other test files

View File

@ -2363,6 +2363,8 @@ else
print '<br>';
print load_fiche_titre($langs->trans($titreform));
dol_fiche_head();
// Define output language
$outputlangs = $langs;
$newlang = '';
@ -2446,7 +2448,7 @@ else
}
print $formmail->get_form();
print '<br>';
dol_fiche_end();
}
else
{