Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
etersoft-build-utils
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
korinf
etersoft-build-utils
Commits
471eb4d5
Commit
471eb4d5
authored
Jul 03, 2009
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
repl: add x86_64 support for replacement
parent
d65382aa
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
8 deletions
+9
-8
repl
share/eterbuild/functions/repl
+9
-8
No files found.
share/eterbuild/functions/repl
View file @
471eb4d5
...
...
@@ -62,24 +62,25 @@ print_replbased_list()
# VENDOR, TARGET is already defined in detect_target_env() func
[
-z
"
$DISTRVERSION
"
]
&&
DISTRVERSION
=
`
distr_vendor
-v
`
# Get list of replacement rules files
#[ -r "$REPLBASE$VENDOR.$DISTRVERSION" ] &&
echo
-n
"
$REPLBASE$VENDOR
.
$DISTRVERSION
$REPLBASE$VENDOR
"
#[ -r "$REPLBASE$VENDOR" ] &&
echo
-n
"
$REPLBASE$VENDOR
"
[
"
$VENDOR
"
!=
"alt"
]
&&
echo
-n
"
$REPLBASE$TARGET
"
# separate checking for x86_64
[
$(
uname
-m
)
=
"x86_64"
]
&&
echo
-n
"
$REPLBASE
.x86_64.
$VENDOR
.
$DISTRVERSION
$REPLBASE
.x86_64.
$VENDOR
"
[
"
$VENDOR
"
!=
"alt"
]
&&
[
$(
uname
-m
)
=
"x86_64"
]
&&
echo
-n
"
$REPLBASE
.x86_64.
$TARGET
"
# general rules listing
echo
-n
"
$REPLBASE
.
$VENDOR
.
$DISTRVERSION
$REPLBASE
.
$VENDOR
"
[
"
$VENDOR
"
!=
"alt"
]
&&
echo
-n
"
$REPLBASE
.
$TARGET
"
}
# TODO: list in alph. order and use if <= then our version
print_pkgrepl_list
()
{
print_replbased_list
$PKGREPLBASE
/pkgrepl
.
print_replbased_list
$PKGREPLBASE
/pkgrepl
}
print_grprepl_list
()
{
print_replbased_list
$PKGREPLBASE
/../grprepl/grprepl
.
print_replbased_list
$PKGREPLBASE
/../grprepl/grprepl
}
...
...
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