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
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
nodes
typescript
duniter
Commits
5aab21c6
Commit
5aab21c6
authored
9 years ago
by
Cédric Moreau
Browse files
Options
Downloads
Patches
Plain Diff
Fix
#243
add node & npm to the path during git installation
parent
b3f4d4f3
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
+6
-2
6 additions, 2 deletions
install.sh
with
6 additions
and
2 deletions
install.sh
+
6
−
2
View file @
5aab21c6
...
...
@@ -34,6 +34,9 @@ ucoin_download() {
}
install_ucoin_from_git
()
{
local
PREVIOUS_PATH
PREVIOUS_PATH
=
$PATH
if
[
-d
"
$UCOIN_DIR
/.git"
]
;
then
echo
"=> ucoin is already installed in
$UCOIN_DIR
, trying to update using git"
printf
"
\r
=> "
...
...
@@ -83,8 +86,9 @@ install_ucoin_from_git() {
}
# Install uCoin dependencies (NPM modules)
local
NPM
=
$UCOIN_DIR
/node/bin/npm
$NPM
install
export
PATH
=
$PATH
:
$UCOIN_DIR
/node/bin/
npm
install
export
PATH
=
$PREVIOUS_PATH
return
}
...
...
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