Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
X
xxx-R6-1
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
synApps_6_1_Working
xxx-R6-1
Commits
da417e97
Commit
da417e97
authored
17 years ago
by
Ron Sluiter
Browse files
Options
Downloads
Patches
Plain Diff
Support "include" entries without a macro.
parent
43c92c9c
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
release.pl
+6
-3
6 additions, 3 deletions
release.pl
with
6 additions
and
3 deletions
release.pl
+
6
−
3
View file @
da417e97
...
...
@@ -11,10 +11,12 @@
# MODIFICATION LOG...
# 03/25/04 rls Support for GATEWAY environment variable.
# 04/08/04 rls Bug fix for spaces between macro and '=' sign; e.g. MPF = /home/mpf.
# 01/25/08 rls Support "include" entries without a macro; e.g. "include /home/ioc/configure/MASTER_RELEASE"
#
#Version: $Revision: 1.
5
$
#Version: $Revision: 1.
6
$
#Modified By: $Author: sluiter $
#Last Modified: $Date: 200
4
-0
4-08 22:04
:2
3
$
#Last Modified: $Date: 200
8
-0
1-25 23:37
:2
7
$
use
Env
;
...
...
@@ -42,9 +44,10 @@ foreach $file (@files)
chomp
(
$line
);
$_
=
$line
;
#test for "include" command
(
$prefix
,
$
macro
,
$
post
)
=
/(.*)\s*
\s*\$\((.*)\)
(.*)/
;
(
$prefix
,
$post
)
=
/(.*)\s* (.*)/
;
if
(
$prefix
eq
"
include
")
{
(
$macro
)
=
/(.*)\s* \s*\$\((.*)\)(.*)/
;
if
(
$macro
eq
"")
{
#true if no macro is present
...
...
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