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
etersoft
eepm
Commits
ebc274a3
Commit
ebc274a3
authored
Feb 21, 2015
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm: add dirs support (pkg_dirs var)
parent
c07f53ce
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
epm
bin/epm
+5
-1
No files found.
bin/epm
View file @
ebc274a3
...
...
@@ -79,6 +79,7 @@ skip_installed=
show_command_only
=
epm_cmd
=
pkg_files
=
pkg_dirs
=
pkg_names
=
pkg_urls
=
quoted_args
=
...
...
@@ -312,6 +313,8 @@ check_filenames()
# files can be with full path or have extension via .
if
[
-f
"
$opt
"
]
&&
echo
"
$opt
"
|
grep
-q
"[/
\.
]"
;
then
pkg_files
=
"
$pkg_files
$opt
"
elif
[
-d
"
$opt
"
]
;
then
pkg_dirs
=
"
$pkg_dirs
$opt
"
elif
echo
"
$opt
"
|
grep
-q
"://"
;
then
pkg_urls
=
"
$pkg_names
$opt
"
else
...
...
@@ -340,10 +343,11 @@ if ! inputisatty ; then
fi
pkg_files
=
$(
strip_spaces
"
$pkg_files
"
)
pkg_dirs
=
$(
strip_spaces
"
$pkg_dirs
"
)
pkg_names
=
$(
strip_spaces
"
$pkg_names
"
)
pkg_urls
=
$(
strip_spaces
"
$pkg_urls
"
)
pkg_filenames
=
$(
strip_spaces
"
$pkg_files
$pkg_names
"
)
pkg_filenames
=
$(
strip_spaces
"
$pkg_files
$pkg_
dirs
$pkg_
names
"
)
# Just debug
#echover "command: $epm_cmd"
...
...
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