autogen.sh: Copy auxiliary files instead of symlinks with `-i`
When accessing from containers, symbolic links may not be able to reach outer file systems.
This commit is contained in:
parent
9c0c66f721
commit
5ce3272e51
Notes:
git
2021-12-06 17:53:59 +09:00
Merged: https://github.com/ruby/ruby/pull/5220 Merged-By: nobu <nobu@ruby-lang.org>
10
autogen.sh
10
autogen.sh
|
@ -6,4 +6,12 @@ case "$0" in
|
||||||
*) srcdir="";;
|
*) srcdir="";;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
exec ${AUTORECONF:-autoreconf} --install --symlink "$@" ${srcdir:+"$srcdir"}
|
symlink='--install --symlink'
|
||||||
|
case " $* " in
|
||||||
|
*" -i "*|*" --install "*)
|
||||||
|
# reset to copy missing standard auxiliary files, instead of symlinks
|
||||||
|
symlink=
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
exec ${AUTORECONF:-autoreconf} ${symlink} "$@" ${srcdir:+"$srcdir"}
|
||||||
|
|
Loading…
Reference in New Issue