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
Vladislav
eepm
Commits
ad38e106
Commit
ad38e106
authored
Mar 23, 2023
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove CURDIR to EPMCURDIR and export it without override
parent
1b448880
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
11 deletions
+11
-11
epm
bin/epm
+2
-2
epm-install
bin/epm-install
+5
-5
epm-pack
bin/epm-pack
+2
-2
epm-repack
bin/epm-repack
+2
-2
No files found.
bin/epm
View file @
ad38e106
...
...
@@ -19,10 +19,10 @@
PROGDIR
=
$(
dirname
"
$0
"
)
PROGNAME
=
$(
basename
"
$0
"
)
CURDIR
=
"
$(
pwd
)
"
[
-n
"
$EPMCURDIR
"
]
||
export
EPM
CURDIR
=
"
$(
pwd
)
"
CMDSHELL
=
"/bin/sh"
# TODO: pwd for ./epm and which for epm
[
"
$PROGDIR
"
=
"."
]
&&
PROGDIR
=
"
$CURDIR
"
[
"
$PROGDIR
"
=
"."
]
&&
PROGDIR
=
"
$
EPM
CURDIR
"
if
[
"
$0
"
=
"/dev/stdin"
]
||
[
"
$0
"
=
"sh"
]
;
then
PROGDIR
=
""
PROGNAME
=
""
...
...
bin/epm-install
View file @
ad38e106
...
...
@@ -328,7 +328,7 @@ epm_install_files()
if
[
-n
"
$download_only
"
]
;
then
echo
cp
-v
$files
"
$CURDIR
"
cp
-v
$files
"
$
EPM
CURDIR
"
return
fi
...
...
@@ -384,7 +384,7 @@ epm_install_files()
if
[
-n
"
$download_only
"
]
;
then
echo
cp
-v
$files
"
$CURDIR
"
cp
-v
$files
"
$
EPM
CURDIR
"
return
fi
...
...
@@ -439,7 +439,7 @@ epm_install_files()
if
[
-n
"
$download_only
"
]
;
then
echo
cp
-v
$files
"
$CURDIR
"
cp
-v
$files
"
$
EPM
CURDIR
"
return
fi
...
...
@@ -485,7 +485,7 @@ epm_install_files()
# check download_only before commands without repack supporting
if
[
-n
"
$download_only
"
]
;
then
echo
cp
-v
$files
"
$CURDIR
"
cp
-v
$files
"
$
EPM
CURDIR
"
return
fi
...
...
@@ -735,7 +735,7 @@ epm_install()
# save files before install and repack
if
[
-n
"
$direct
"
]
&&
[
-n
"
$download_only
"
]
;
then
echo
cp
-v
$files
"
$CURDIR
"
cp
-v
$files
"
$
EPM
CURDIR
"
return
fi
...
...
bin/epm-pack
View file @
ad38e106
...
...
@@ -113,12 +113,12 @@ epm_pack()
return
fi
cp
$packed_pkgs
"
$CURDIR
"
cp
$packed_pkgs
"
$
EPM
CURDIR
"
if
[
-z
"
$quiet
"
]
;
then
echo
echo
"Packed packages:"
for
i
in
$packed_pkgs
;
do
echo
"
$CURDIR
/
$(
basename
"
$i
"
)
"
echo
"
$
EPM
CURDIR
/
$(
basename
"
$i
"
)
"
done
fi
fi
...
...
bin/epm-repack
View file @
ad38e106
...
...
@@ -451,12 +451,12 @@ epm_repack()
[
-z
"
$pkg_files
"
]
&&
info
"Skip empty repack list"
&&
return
22
if
__epm_repack
$pkg_files
&&
[
-n
"
$repacked_pkgs
"
]
;
then
cp
$repacked_pkgs
"
$CURDIR
"
cp
$repacked_pkgs
"
$
EPM
CURDIR
"
if
[
-z
"
$quiet
"
]
;
then
echo
echo
"Adapted packages:"
for
i
in
$repacked_pkgs
;
do
echo
"
$CURDIR
/
$(
basename
"
$i
"
)
"
echo
"
$
EPM
CURDIR
/
$(
basename
"
$i
"
)
"
done
fi
fi
...
...
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