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
This commit is contained in:
parent
dd872bf49f
commit
32a15a2441
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user