mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-24 03:39:45 +00:00
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