Commit 5e502db0 authored by Vitaly Lipatov's avatar Vitaly Lipatov

rpmbs: move srpm after extract tarball from it

parent fb1f7bec
......@@ -155,8 +155,6 @@ rpmbs_copying_built()
else
mkdir -p $ETERDESTSRPM || echog "Error mkdir $ETERDESTSRPM"
chmod ug+rw $LISTBUILT
mv -fv $LISTBUILT $ETERDESTSRPM || echog "Error during copying"
make_md5sum "$ETERDESTSRPM"
# Publish tarball if target dir is exist
if [ -d "$ETERDESTSRPM/tarball" ] ; then
echog "There is tarball dir exists. Extract tarball for other build system compatibility."
......@@ -164,6 +162,8 @@ rpmbs_copying_built()
extract_tarball_to_dest $i $ETERDESTSRPM/tarball
done
fi
mv -fv $LISTBUILT $ETERDESTSRPM || echog "Error during copying"
make_md5sum "$ETERDESTSRPM"
fi
}
......
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