Fix script for windows

This commit is contained in:
Laurent Destailleur
2025-12-16 20:08:42 +01:00
parent 591eb02d4b
commit b64ae7eb55

View File

@@ -2,7 +2,7 @@
#----------------------------------------------------------------------------
# \file dev/build/makepack-dolibarr.pl
# \brief Dolibarr package builder (tgz, zip, rpm, deb, exe, aps)
# \author (c)2004-2023 Laurent Destailleur <eldy@users.sourceforge.net>
# \author (c)2004-2025 Laurent Destailleur <eldy@users.sourceforge.net>
#
# This is list of constant you can set to have generated packages moved into a specific dir:
#DESTIBETARC='/media/HDDATA1_LD/Mes Sites/Web/Dolibarr/dolibarr.org/files/lastbuild'
@@ -442,7 +442,7 @@ if ($nboftargetok) {
chdir("$SOURCE");
print "Clean $SOURCE/htdocs/includes/autoload.php\n";
$ret=`rm -f $SOURCE/htdocs/includes/autoload.php`;
unlink("$SOURCE/htdocs/includes/autoload.php");
$ret=`git ls-files . --exclude-standard --others`;
if ($ret)