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
9379c27c
Commit
9379c27c
authored
Aug 19, 2022
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix $@ using for set vars (eterbug 15846)
parent
92e0c49c
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
5 additions
and
5 deletions
+5
-5
epm-addrepo
bin/epm-addrepo
+1
-1
epm-install
bin/epm-install
+1
-1
epm-removerepo
bin/epm-removerepo
+1
-1
epm-repack
bin/epm-repack
+1
-1
common.sh
repack.d/common.sh
+1
-1
No files found.
bin/epm-addrepo
View file @
9379c27c
...
@@ -24,7 +24,7 @@ ALTLINUXPUBURL=http://ftp.altlinux.org/pub/distributions
...
@@ -24,7 +24,7 @@ ALTLINUXPUBURL=http://ftp.altlinux.org/pub/distributions
__epm_addrepo_rhel
()
__epm_addrepo_rhel
()
{
{
local
repo
=
"
$
@
"
local
repo
=
"
$
*
"
if
[
-z
"
$repo
"
]
;
then
if
[
-z
"
$repo
"
]
;
then
echo
"Add repo."
echo
"Add repo."
echo
"1. Use with repository URL, f.i. http://www.example.com/example.repo"
echo
"1. Use with repository URL, f.i. http://www.example.com/example.repo"
...
...
bin/epm-install
View file @
9379c27c
...
@@ -299,7 +299,7 @@ __epm_if_command_path()
...
@@ -299,7 +299,7 @@ __epm_if_command_path()
epm_install_files
()
epm_install_files
()
{
{
local
files
=
"
$
@
"
local
files
=
"
$
*
"
[
-z
"
$files
"
]
&&
return
[
-z
"
$files
"
]
&&
return
# TODO: check read permissions
# TODO: check read permissions
...
...
bin/epm-removerepo
View file @
9379c27c
...
@@ -140,7 +140,7 @@ case $PMTYPE in
...
@@ -140,7 +140,7 @@ case $PMTYPE in
info
"You need remove repo from /etc/pacman.conf"
info
"You need remove repo from /etc/pacman.conf"
;;
;;
npackd
)
npackd
)
sudocmd npackdcl remove-repo
--url
=
"
$
@
"
sudocmd npackdcl remove-repo
--url
=
"
$
*
"
;;
;;
winget
)
winget
)
sudocmd winget
source
remove
"
$@
"
sudocmd winget
source
remove
"
$@
"
...
...
bin/epm-repack
View file @
9379c27c
...
@@ -55,7 +55,7 @@ __epm_split_by_pkg_type()
...
@@ -55,7 +55,7 @@ __epm_split_by_pkg_type()
__epm_repack_to_deb
()
__epm_repack_to_deb
()
{
{
local
pkg
local
pkg
local
pkgs
=
"
$
@
"
local
pkgs
=
"
$
*
"
assure_exists alien
assure_exists alien
assure_exists fakeroot
assure_exists fakeroot
...
...
repack.d/common.sh
View file @
9379c27c
...
@@ -77,7 +77,7 @@ EOF
...
@@ -77,7 +77,7 @@ EOF
# move files to $PRODUCTDIR
# move files to $PRODUCTDIR
move_to_opt
()
move_to_opt
()
{
{
local
from
=
"
$
@
"
local
from
=
"
$
*
"
if
[
-z
"
$from
"
]
;
then
if
[
-z
"
$from
"
]
;
then
from
=
"/usr/share/
$PRODUCT
"
from
=
"/usr/share/
$PRODUCT
"
[
-d
"
$BUILDROOT$from
"
]
||
from
=
"/usr/lib/
$PRODUCT
"
[
-d
"
$BUILDROOT$from
"
]
||
from
=
"/usr/lib/
$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