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
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Software_Artifact_Infrastructure_Repository
dolibarr
Commits
65ea609b
Commit
65ea609b
authored
19 years ago
by
Laurent Destailleur
Browse files
Options
Downloads
Patches
Plain Diff
Mise a jour script pour préparation release
parent
6545f1cb
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
build/deb/apache.conf
+0
-8
0 additions, 8 deletions
build/deb/apache.conf
build/makepack-dolibarr.pl
+9
-9
9 additions, 9 deletions
build/makepack-dolibarr.pl
with
9 additions
and
17 deletions
build/deb/apache.conf
+
0
−
8
View file @
65ea609b
...
...
@@ -45,11 +45,3 @@ Alias /dolibarr /usr/share/dolibarr
#</DirectoryMatch>
#
#
# Not yet obsolete (donation module)
#
SetEnv
LLX_DBTYPE
mysql
SetEnv
LLX_DBHOST
localhost
SetEnv
LLX_DBUSER
user
SetEnv
LLX_DBPASS
pass
SetEnv
LLX_DBNAME
dolibarr
This diff is collapsed.
Click to expand it.
build/makepack-dolibarr.pl
+
9
−
9
View file @
65ea609b
...
...
@@ -11,7 +11,7 @@ use Cwd;
$PROJECT
=
"
dolibarr
";
$MAJOR
=
"
2
";
$MINOR
=
"
0
";
$BUILD
=
"
0-
alpha2
";
$BUILD
=
"
0-
beta1
";
$RPMSUBVERSION
=
"
1
";
@LISTETARGET
=
("
TGZ
","
ZIP
","
RPM
","
DEB
","
EXE
");
# Possible packages
...
...
@@ -240,7 +240,7 @@ if ($nboftargetok) {
#print "cd $BUILDROOTNT & 7z a -r -tzip -mx $BUILDROOT/$FILENAMEZIP.zip $FILENAMETGZ\\*.*\n";
#$ret=`cd $BUILDROOTNT & 7z a -r -tzip -mx $BUILDROOT/$FILENAMEZIP.zip $FILENAMETGZ\\*.*`;
$ret
=
`
7z a -r -tzip -mx
$BUILDROOT
/
$FILENAMEZIP
.zip
$FILENAMETGZ
\\
*.*
`;
print
"
Move
$FILENAMEZIP
.zip to
$DESTI
\n
";
print
"
Move
$FILENAMEZIP
.zip to
$DESTI
\n
";
rename
("
$BUILDROOT
/
$FILENAMEZIP
.zip
","
$DESTI
/
$FILENAMEZIP
.zip
");
next
;
}
...
...
@@ -257,13 +257,13 @@ if ($nboftargetok) {
print
"
Copy
$SOURCE
/make/rpm/
${BUILDFIC}
to
$BUILDROOT
\n
";
# $ret=`cp -p "$SOURCE/make/rpm/${BUILDFIC}" "$BUILDROOT"`;
open
(
SPECFROM
,"
<
$SOURCE
/make/rpm/
${BUILDFIC}
")
||
die
"
Error
";
open
(
SPECTO
,"
>
$BUILDROOT
/
$BUILDFIC
")
||
die
"
Error
";
while
(
<
SPECFROM
>
)
{
$_
=~
s/__VERSION__/$MAJOR.$MINOR.$BUILD/
;
print
SPECTO
$_
;
}
close
SPECFROM
;
open
(
SPECFROM
,"
<
$SOURCE
/make/rpm/
${BUILDFIC}
")
||
die
"
Error
";
open
(
SPECTO
,"
>
$BUILDROOT
/
$BUILDFIC
")
||
die
"
Error
";
while
(
<
SPECFROM
>
)
{
$_
=~
s/__VERSION__/$MAJOR.$MINOR.$BUILD/
;
print
SPECTO
$_
;
}
close
SPECFROM
;
close
SPECTO
;
print
"
Launch RPM build (rpm --clean -ba
$BUILDROOT
/
${BUILDFIC}
)
\n
";
...
...
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