Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dolibarr
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Software_Artifact_Infrastructure_Repository
dolibarr
Commits
647f66a1
Commit
647f66a1
authored
Jan 3, 2005
by
Laurent Destailleur
Browse files
Options
Downloads
Patches
Plain Diff
Fix: On désactive l'attente lors de la génération des packages en mode batch.
parent
f3dcc80d
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
build/makepack-dolibarr.pl
+9
-6
9 additions, 6 deletions
build/makepack-dolibarr.pl
with
9 additions
and
6 deletions
build/makepack-dolibarr.pl
+
9
−
6
View file @
647f66a1
...
...
@@ -90,12 +90,13 @@ $BUILDROOT="$TEMP/buildroot";
my
$copyalreadydone
=
0
;
my
$batch
=
0
;
print
"
Makepack version
$VERSION
\n
";
print
"
Building package for
$PROJECT
$MAJOR
.
$MINOR
\n
";
for
(
0
..
@ARGV
-
1
)
{
if
(
$ARGV
[
$_
]
=~
/^-*target=(\w+)/i
)
{
$target
=
$
1
;
}
if
(
$ARGV
[
$_
]
=~
/^-*target=(\w+)/i
)
{
$target
=
$
1
;
$batch
=
1
;
}
}
# Choose package targets
...
...
@@ -177,7 +178,7 @@ print "\n";
# Check if there is at least on target to build
#----------------------------------------------
$nboftargetok
=
0
;
foreach
$target
(
keys
%CHOOSEDTARGET
)
{
foreach
my
$target
(
keys
%CHOOSEDTARGET
)
{
if
(
$CHOOSEDTARGET
{
$target
}
<
0
)
{
next
;
}
$nboftargetok
++
;
}
...
...
@@ -205,7 +206,7 @@ if ($nboftargetok) {
# Build package for each target
#------------------------------
foreach
$target
(
keys
%CHOOSEDTARGET
)
{
foreach
my
$target
(
keys
%CHOOSEDTARGET
)
{
if
(
$CHOOSEDTARGET
{
$target
}
<
0
)
{
next
;
}
print
"
\n
Build package for target
$target
\n
";
...
...
@@ -278,7 +279,7 @@ if ($nboftargetok) {
}
print
"
\n
----- Summary -----
\n
";
foreach
$target
(
keys
%CHOOSEDTARGET
)
{
foreach
my
$target
(
keys
%CHOOSEDTARGET
)
{
if
(
$CHOOSEDTARGET
{
$target
}
<
0
)
{
print
"
Package
$target
not built (bad requirement).
\n
";
}
else
{
...
...
@@ -286,7 +287,9 @@ foreach $target (keys %CHOOSEDTARGET) {
}
}
if
(
!
$btach
)
{
print
"
\n
Press key to finish...
";
my
$WAITKEY
=<
STDIN
>
;
}
0
;
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment