mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Improved autogen.sh
* update in the source directory * make symbolic links instead of copies * forward the arguments to autoreconf as-is
This commit is contained in:
parent
f9e4378299
commit
447feb0aa0
1 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
|||
#!/bin/sh
|
||||
|
||||
${AUTORECONF:-autoreconf} --install $*
|
||||
PWD=
|
||||
case "$0" in
|
||||
*/*) srcdir="${0%/*}/";;
|
||||
*) srcdir="";;
|
||||
esac
|
||||
|
||||
exec ${AUTORECONF:-autoreconf} --install --symlink "$@" ${srcdir:+"$srcdir"}
|
||||
|
|
Loading…
Reference in a new issue