Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
duniter
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
nodes
typescript
duniter
Commits
2639feeb
Commit
2639feeb
authored
9 years ago
by
Cédric Moreau
Browse files
Options
Downloads
Patches
Plain Diff
Fix: differentiate x86 and x64
parent
34c1d228
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
install.sh
+2
-2
2 additions, 2 deletions
install.sh
with
2 additions
and
2 deletions
install.sh
+
2
−
2
View file @
2639feeb
...
@@ -93,7 +93,7 @@ install_ucoin_from_git() {
...
@@ -93,7 +93,7 @@ install_ucoin_from_git() {
local
NVER
=
"0.12.6"
;
local
NVER
=
"0.12.6"
;
local
ARCH
=
"86"
local
ARCH
=
"86"
local
X64
=
`
uname
-r
|
grep
"x86_64"
`
local
X64
=
`
uname
-r
|
grep
"x86_64"
`
if
[
!
-z
X64
]
;
then
if
[
!
-z
"
$
X64
"
]
;
then
ARCH
=
"64"
ARCH
=
"64"
fi
fi
local
NODEJS_FILENAME
=
node-v
${
NVER
}
-linux-x
${
ARCH
}
local
NODEJS_FILENAME
=
node-v
${
NVER
}
-linux-x
${
ARCH
}
...
@@ -126,7 +126,7 @@ install_ucoin_from_git() {
...
@@ -126,7 +126,7 @@ install_ucoin_from_git() {
install_ucoin_as_script
()
{
install_ucoin_as_script
()
{
local
ARCH
=
"32"
local
ARCH
=
"32"
local
X64
=
`
uname
-r
|
grep
"x86_64"
`
local
X64
=
`
uname
-r
|
grep
"x86_64"
`
if
[
!
-z
X64
]
;
then
if
[
!
-z
"
$
X64
"
]
;
then
ARCH
=
"64"
ARCH
=
"64"
fi
fi
local
UCOIN_SOURCE_LOCAL
local
UCOIN_SOURCE_LOCAL
...
...
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