Commit 32a15a24 authored by Måns Rullgård's avatar Måns Rullgård

fate: store last version in per-slot file

This allows the same workdir to be used by multiple slots.

Originally committed as revision 24819 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent dd872bf4
......@@ -101,8 +101,8 @@ test -d "$src" && update || checkout || die "Error fetching source"
cd ${workdir}
version=$(${src}/version.sh ${src})
test "$version" = "$(cat version 2>/dev/null)" && exit 0
echo ${version} >version
test "$version" = "$(cat version-$slot 2>/dev/null)" && exit 0
echo ${version} >version-$slot
rm -rf "${build}"
mkdir -p ${build}
......
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