1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/autogen.sh
Nobuyoshi Nakada 5ce3272e51
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.
2021-12-06 17:53:37 +09:00

17 lines
332 B
Bash
Executable file

#!/bin/sh
PWD=
case "$0" in
*/*) srcdir=`dirname $0`;;
*) srcdir="";;
esac
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"}