Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
eepm
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
Nurlan
eepm
Commits
c8eb90eb
Commit
c8eb90eb
authored
Aug 12, 2022
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm play common.sh: small fixes
parent
8b008e1c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
common.sh
play.d/common.sh
+3
-2
No files found.
play.d/common.sh
View file @
c8eb90eb
...
@@ -105,8 +105,9 @@ check_supported_arch()
...
@@ -105,8 +105,9 @@ check_supported_arch()
{
{
# skip checking if no arches
# skip checking if no arches
[
-n
"
$1
"
]
||
return
0
[
-n
"
$1
"
]
||
return
0
local arch
=
"
$(
epm print info
-a
)
"
for
i
in
$*
;
do
for
i
in
$*
;
do
[
"
$
(
epm print info
-a
)
"
=
"
$i
"
]
&&
return
0
[
"
$
arch
"
=
"
$i
"
]
&&
return
0
done
done
return
1
return
1
...
@@ -124,4 +125,4 @@ if [ -z "$SUDO" ] && [ "$UID" != "0" ] ; then
...
@@ -124,4 +125,4 @@ if [ -z "$SUDO" ] && [ "$UID" != "0" ] ; then
SUDO
=
"sudo"
SUDO
=
"sudo"
fi
fi
check_supported_arch
$SUPPORTEDARCHES
||
fatal
"Only
$SUPPORTEDARCHES
is supported"
check_supported_arch
$SUPPORTEDARCHES
||
fatal
"Only
'
$SUPPORTEDARCHES
' architectures
is supported"
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