Commit 0d3c7a9b authored by Vitaly Lipatov's avatar Vitaly Lipatov

make cp -al for new releases from last link

parent aee4642a
......@@ -55,6 +55,12 @@ else
fi
export ETERDESTSRPM
PREVPATH=$(readlink -m "$ETERDESTSRPM/../../last")
if [ -n "$ALPHA" ] && [ ! -d "$ETERDESTSRPM" ] && [ -d "$PREVPATH" ] ; then
echo "Copying previous target tree from $PREVPATH"
cp -alv $PREVPATH $(readlink -m "$ETERDESTSRPM/..")
fi
# just for your information: rpmbs supports ssh-like target
$ETERBUILDBIN/rpmbs -s $SPECNAME || fatal "Can't build SRPMS"
......
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