Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
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
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
canghaiwuhen
OpenXG-RAN
Commits
4d000a6e
Commit
4d000a6e
authored
Dec 01, 2015
by
Rohit Gupta
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update for sudo check
parent
25b3eeb4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
cmake_targets/autotests/run_exec_autotests.bash
cmake_targets/autotests/run_exec_autotests.bash
+4
-2
No files found.
cmake_targets/autotests/run_exec_autotests.bash
View file @
4d000a6e
...
...
@@ -398,10 +398,12 @@ else
fi
tmpfile
=
`
mktemp
`
echo
\'
$passwd
\'
|
sudo
-S
-v
>
&
$tmpfile
echo
\'
$passwd
\'
|
sudo
echo
$HOME
>
&
$tmpfile
tstsudo
=
`
cat
$tmpfile
`
if
[
"
$tstsudo
"
!=
""
]
;
then
if
[
"
$tstsudo
"
!=
"
$HOME
"
]
;
then
echo
"User might not have sudo privileges. Exiting"
echo
"tstsudo =
$tstsudo
"
exit
fi
echo
"tstsudo =
$tstsudo
"
rm
-fr
$tmpfile
...
...
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