mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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>
1 changed files with 9 additions and 1 deletions
10
autogen.sh
10
autogen.sh
|
@ -6,4 +6,12 @@ case "$0" in
|
|||
*) srcdir="";;
|
||||
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 a new issue