Commit 1219c043 authored by Vitaly Lipatov's avatar Vitaly Lipatov

repack: fix copying to the place

parent 5652a87b
...@@ -316,6 +316,7 @@ __epm_check_if_try_install_deb() ...@@ -316,6 +316,7 @@ __epm_check_if_try_install_deb()
epm_repack() epm_repack()
{ {
local CURDIR="$(pwd)"
# if possible, it will put pkg_urls into pkg_files and reconstruct pkg_filenames # if possible, it will put pkg_urls into pkg_files and reconstruct pkg_filenames
if [ -n "$pkg_urls" ] ; then if [ -n "$pkg_urls" ] ; then
load_helper epm-download load_helper epm-download
...@@ -330,7 +331,7 @@ epm_repack() ...@@ -330,7 +331,7 @@ epm_repack()
__epm_repack_to_rpm $pkg_files || fatal __epm_repack_to_rpm $pkg_files || fatal
echo echo
echo "Adapted packages:" echo "Adapted packages:"
cp $repacked_rpms . cp $repacked_rpms "$CURDIR"
for i in $repacked_rpms ; do for i in $repacked_rpms ; do
echo " $(pwd)/$(basename "$i")" echo " $(pwd)/$(basename "$i")"
done done
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment