提交 95a94175 authored 作者: William King's avatar William King

FS-7338 fix when the build system was deleting the keyring before it was fully finished with it.

上级 538c28af
......@@ -322,10 +322,6 @@ build_debs () {
--othermirror "$(get_mirrors $distro $custom_sources_file)"
fi
}
if [ ! -e "$custom_keyring" ]; then
# Cleanup script created temporary file
rm -f $keyring
fi
if ! [ -d $cow_img ]; then
announce "Creating base $distro-$arch image..."
local x=30
......@@ -351,6 +347,10 @@ build_debs () {
--hookdir "$hookdir" \
--buildresult ../ \
$cow_build_opts
if [ ! -e "$custom_keyring" ]; then
# Cleanup script created temporary file
rm -f $keyring
fi
} 1>&2
echo ${dsc%.dsc}_${arch}.changes
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论