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
8a9084a5
Commit
8a9084a5
authored
Dec 07, 2012
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hasher: fix x86_64-i586 replacement
parent
db7c63f2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
hasher
share/eterbuild/functions/hasher
+2
-2
No files found.
share/eterbuild/functions/hasher
View file @
8a9084a5
...
...
@@ -70,10 +70,10 @@ print_tmp_sourceslist()
fi
test
-r
"
$SLIST
"
||
fatal
"'
$SLIST
' - sources.list path from
$1
is missed"
if
[
"
$BUILDARCH
"
=
"x86_64"
]
;
then
cat
"
$SLIST
"
|
sed
-e
"s|
i[56]86|
$BUILDARCH
|g"
cat
"
$SLIST
"
|
sed
-e
"s|
\(
[ /]
\)
i[56]86|
\1
$BUILDARCH
|g"
else
# Note: drop biarch 32bit on real 32bit
cat
"
$SLIST
"
|
sed
-e
"s|x86_64
|
$BUILDARCH
|g"
|
grep
-v
"x86_32"
|
grep
-v
"x86
-i586"
cat
"
$SLIST
"
|
sed
-e
"s|x86_64
\(
[ /]
\)
|
$BUILDARCH
\1
|g"
|
grep
-v
"x86_32"
|
grep
-v
"x86_64
-i586"
fi
}
...
...
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