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
a82302f7
Commit
a82302f7
authored
Dec 16, 2022
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm repack: don't use fatal()
parent
ea97e5fb
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
common.sh
repack.d/common.sh
+1
-1
ipera-client.sh
repack.d/ipera-client.sh
+1
-1
vkteams.sh
repack.d/vkteams.sh
+1
-1
No files found.
repack.d/common.sh
View file @
a82302f7
...
...
@@ -98,7 +98,7 @@ move_to_opt()
[
-d
"
$sdir
"
]
||
continue
rdir
=
"
$(
echo
$sdir
|
sed
-e
"s|^
$BUILDROOT
||"
)
"
[
-n
"
$rdir
"
]
||
return
1
#fatal "Can't resolve $from in $BUILDROOT"
[
-d
"
$BUILDROOT$rdir
"
]
||
fatal
"Can't resolve
$from
in
$BUILDROOT
"
[
-d
"
$BUILDROOT$rdir
"
]
||
return
1
#
fatal "Can't resolve $from in $BUILDROOT"
break
done
[
-d
"
$sdir
"
]
||
return
1
#fatal "Can't find any dir from $from list"
...
...
repack.d/ipera-client.sh
View file @
a82302f7
...
...
@@ -8,7 +8,7 @@ PRODUCTDIR=/opt/ipera
.
$(
dirname
$0
)
/common.sh
LIBDIR
=
$(
echo
$BUILDROOT
/opt/ipera/client/
*
/lib
)
[
-d
"
$LIBDIR
"
]
||
fatal
"Can't find
$LIBDIR
"
[
-d
"
$LIBDIR
"
]
||
exit
epm assure patchelf
||
exit
cd
$LIBDIR
...
...
repack.d/vkteams.sh
View file @
a82302f7
...
...
@@ -14,7 +14,7 @@ subst "s|^Summary:.*|Summary: VK Teams|" $SPEC
# move package to /opt
mkdir
-p
$BUILDROOT$PRODUCTDIR
mv
$BUILDROOT
/
*
$BUILDROOT$PRODUCTDIR
||
fatal
mv
$BUILDROOT
/
*
$BUILDROOT$PRODUCTDIR
subst
"s|
\"
/|
\"
$PRODUCTDIR
/|"
$SPEC
add_bin_exec_command
$PRODUCT
...
...
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