Commit 57ecd3b3 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm-repack-rpm: hide cp hard link error

parent f39a5b0c
......@@ -177,7 +177,7 @@ __epm_repack_to_rpm()
alpkg=$(basename $pkg)
# don't use abs package path: copy package to temp dir and use there
cp -l $verbose $pkg $tmpbuilddir/../$alpkg || cp $verbose $pkg $tmpbuilddir/../$alpkg || fatal
cp -l $verbose $pkg $tmpbuilddir/../$alpkg 2>/dev/null || cp $verbose $pkg $tmpbuilddir/../$alpkg || fatal
cd $tmpbuilddir/../ || fatal
# fill alpkg and SUBGENERIC
......
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