Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-UDM
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenXG
OpenXG-UDM
Commits
612fa15c
Commit
612fa15c
authored
Mar 02, 2021
by
luhan Wang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
install udm binary to /usr/local/bin
parent
42d76895
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
build/scripts/build_udm
build/scripts/build_udm
+5
-2
No files found.
build/scripts/build_udm
View file @
612fa15c
...
...
@@ -4,7 +4,7 @@ THIS_SCRIPT_PATH=$(dirname $(readlink -f $0))
OPENXGUDM_DIR
=
${
THIS_SCRIPT_PATH
%/*
}
OPENXGUDM_DIR
=
${
OPENXGUDM_DIR
%/*
}
INSTALL_DIR
=
/usr/local/bin
###############################
## echo and family
###############################
...
...
@@ -134,10 +134,13 @@ function main()
cd
$OPENXGUDM_DIR
/build/UDM
if
[[
$jobs
-ne
0
]]
;
then
make
-j
4
make
-j
`
nproc
`
else
make
fi
$SUDO
chmod
755
$OPENXGUDM_DIR
/build/UDM/udm
$SUDO
cp
-upv
$OPENXGUDM_DIR
/build/UDM/udm
$INSTALL_DIR
&&
$SUDO
chmod
755
$INSTALL_DIR
/udm
&&
echo_success
"UDM installed"
return
0
}
main
$@
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