提交 a0826238 authored 作者: Travis Cross's avatar Travis Cross

prevent accidental updates to libs/ldns/install-sh

上级 9468eeb5
...@@ -380,6 +380,23 @@ bootstrap_fs() { ...@@ -380,6 +380,23 @@ bootstrap_fs() {
rm -rf autom4te*.cache rm -rf autom4te*.cache
} }
bootstrap_libs_pre() {
case "$i" in
ldns)
# This file shouldn't even be in the tree as it's autogenerated
# during bootstrap, but some people report it breaks the build
# if it's not there. Let's prevent it from getting accidentally
# updated.
(cd $BASEDIR/libs/ldns && cp -a install-sh install-sh~) ;;
esac
}
bootstrap_libs_post() {
case "$i" in
ldns) (cd $BASEDIR/libs/ldns && mv install-sh~ install-sh) ;;
esac
}
bootstrap_libs() { bootstrap_libs() {
for i in ${SUBDIRS}; do for i in ${SUBDIRS}; do
case "$i" in case "$i" in
...@@ -389,11 +406,13 @@ bootstrap_libs() { ...@@ -389,11 +406,13 @@ bootstrap_libs() {
continue continue
;; ;;
esac esac
bootstrap_libs_pre
if ! ${BGJOB}; then if ! ${BGJOB}; then
libbootstrap ${i} libbootstrap ${i}
else else
libbootstrap ${i} & libbootstrap ${i} &
fi fi
bootstrap_libs_post
done done
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论