Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
proview
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Esteban Blanc
proview
Commits
e65b2b5a
Commit
e65b2b5a
authored
Jun 07, 2006
by
claes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add can be called from script with arguments
parent
973841de
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
36 additions
and
13 deletions
+36
-13
src/tools/pwre/src/os_linux/pwre.pl
src/tools/pwre/src/os_linux/pwre.pl
+36
-13
No files found.
src/tools/pwre/src/os_linux/pwre.pl
View file @
e65b2b5a
...
...
@@ -120,9 +120,9 @@ sub add ()
$label
=
$_
[
0
];
$varstr
=
$envdb
{
$label
};
if
(
$varstr
ne
"")
{
printf
("
++ Env
rino
ment %s already exists
\n
",
$_
[
0
]);
printf
("
++ Env
iron
ment %s already exists
\n
",
$_
[
0
]);
}
else
{
get_vars
();
get_vars
(
@_
);
update_db
();
}
untie
(
%
envdb
)
||
die
"
++ can't untie
$dbname
!
";
...
...
@@ -215,9 +215,9 @@ sub build_all_modules ()
merge
();
_module
("
tlog
");
build_all
();
#
merge();
#
_module("remote");
#
build_all();
merge
();
_module
("
remote
");
build_all
();
merge
();
_module
("
bcomp
");
build_all
();
...
...
@@ -559,7 +559,6 @@ sub build_all ()
}
}
else
{
printf
(
"
Copy: %d Lib: %d Exe: %d
\n
",
$copy
,
$lib
,
$exe
);
if
(
$copy
==
1
)
{
_build
("
wbl
",
"
*
",
"
copy
");
_build
("
lib
",
"
*
",
"
init copy
");
...
...
@@ -993,14 +992,38 @@ sub create_dir()
sub
get_vars
()
{
printf
(
"
Arg: %s
\n
",
$_
[
1
]);
if
(
$_
[
1
]
eq
"")
{
$sroot
=
get_var
("
Source root [%s]?
",
$sroot
);
}
else
{
$sroot
=
$_
[
1
];
}
# $vmsinc = get_var(" pwr_inc on VMS [%s]? ", $vmsinc);
if
(
$_
[
2
]
eq
"")
{
$broot
=
get_var
("
Build root [%s]?
",
$broot
);
}
else
{
$broot
=
$_
[
2
];
}
if
(
$_
[
3
]
eq
"")
{
$btype
=
get_var
("
Build type [%s]?
",
$btype
);
}
else
{
$btype
=
$_
[
3
];
}
if
(
$_
[
4
]
eq
"")
{
$os
=
get_var
("
OS [%s]?
",
$os
);
}
else
{
$os
=
$_
[
4
];
}
if
(
$_
[
5
]
eq
"")
{
$hw
=
get_var
("
Hardware [%s]?
",
$hw
);
}
else
{
$hw
=
$_
[
5
];
}
if
(
$_
[
6
]
eq
"")
{
$desc
=
get_var
("
Description [%s]?
",
$desc
);
}
else
{
$desc
=
$_
[
6
];
}
$varstr
=
join
("
:
",
(
$sroot
,
$vmsinc
,
$broot
,
$btype
,
$os
,
$hw
,
$desc
));
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment